Fix language selection menu, which showed the language code twice
This commit is contained in:
parent
78f69a017b
commit
16e20a9c88
2 changed files with 2 additions and 1 deletions
|
@ -215,6 +215,7 @@ Because the =fastgpt-shell-mode-map= only becomes available when =kagi-fastgpt-s
|
||||||
|
|
||||||
- Change the prompt for =kagi-translate= to return translations only, without preamble.
|
- Change the prompt for =kagi-translate= to return translations only, without preamble.
|
||||||
- Added autoload markers where they were missing.
|
- Added autoload markers where they were missing.
|
||||||
|
- Language selection menu for summaries was not formatted properly.
|
||||||
|
|
||||||
** 0.3.1
|
** 0.3.1
|
||||||
|
|
||||||
|
|
2
kagi.el
2
kagi.el
|
@ -596,7 +596,7 @@ this when PROMPT-INSERT-P is non-nil."
|
||||||
(when (equal current-prefix-arg '(4))
|
(when (equal current-prefix-arg '(4))
|
||||||
(let ((language-table (mapcar (lambda (lang)
|
(let ((language-table (mapcar (lambda (lang)
|
||||||
(cons
|
(cons
|
||||||
(format "%s [%s]" (car lang) (cdr lang))
|
(format "%s" (car lang))
|
||||||
(cdr lang)))
|
(cdr lang)))
|
||||||
kagi--summarizer-languages)))
|
kagi--summarizer-languages)))
|
||||||
(alist-get
|
(alist-get
|
||||||
|
|
Loading…
Reference in a new issue