diff --git a/README.org b/README.org index 9956e5d..5b7fa3c 100644 --- a/README.org +++ b/README.org @@ -71,7 +71,10 @@ You way want to load and configure the package with ~use-package~, for example p :custom-face ;; kagi-code defaults to fixed-pitch, but can be overridden as ;; follows: - (kagi-code ((t (:inherit org-verbatim))))) + (kagi-code ((t (:inherit org-verbatim)))) + + ;; likewise for kagi-bold: + (kagi-bold ((t (:inherit modus-themes-bold))))) #+end_src The token can be supplied directly as a string, but you could write a lambda to retrieve the token from a more secure location (e.g. with the combination of [[https://passwordstore.org/][pass(1)]] and the password-store package that comes with it). @@ -188,9 +191,13 @@ One of those bindings is =C-c C-o=, which flushes the last output. However, this If you recognize this confusion, you may want to add the following line to your configuration file to shadow the =comint-mode= binding with something more appropriate: #+begin_src elisp - (keymap-set fastgpt-shell-mode-map "C-c C-o" #'browse-url-at-point) + (add-hook 'fastgpt-shell-mode-hook + (lambda () + (keymap-set fastgpt-shell-mode-map "C-c C-o" #'browse-url-at-point))) #+end_src +Because the =fastgpt-shell-mode-map= only becomes available when =kagi-fastgpt-shell= has been invoked, the keybinding is done in a mode hook. + * Changelog ** 0.3pre @@ -203,6 +210,10 @@ The summarizer commands =kagi-summarize-*= now accept a universal prefix. This a - choose a different target language; - choose a different summarizer engine. +*** Fixes + +- Fixed language code for Korean summaries. + ** 0.2 *** Breaking changes diff --git a/kagi.el b/kagi.el index 004949b..9cf1dab 100644 --- a/kagi.el +++ b/kagi.el @@ -116,7 +116,7 @@ https://help.kagi.com/kagi/api/summarizer.html." ("Indonesian [ID]" . "ID") ("Italian [IT]" . "IT") ("Japanese [JA]" . "JA") - ("Korean [KO]" . "KA") + ("Korean [KO]" . "KO") ("Lithuanian [LT]" . "LT") ("Latvian [LV]" . "LV") ("Norwegian [NB]" . "NB")