1
0
Fork 0

Fix language selection menu, which showed the language code twice

This commit is contained in:
Bram Schoenmakers 2024-02-10 20:22:30 +01:00
parent 78f69a017b
commit 16e20a9c88
Signed by: bram
GPG key ID: 0CCD19DFDC63258F
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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