aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjohn muhl2024-07-10 17:13:58 -0500
committerEli Zaretskii2024-07-13 18:50:07 +0300
commite6f78485aa66ff762376702fc97a14a4dfe9b258 (patch)
tree69b50b86ca9fc13f48b2d594cb4261b5f7030ff5
parenta6c78ccf5f297e612ff0f2159a7bed3a70637168 (diff)
downloademacs-e6f78485aa66ff762376702fc97a14a4dfe9b258.tar.gz
emacs-e6f78485aa66ff762376702fc97a14a4dfe9b258.zip
; Fix typos in 'which-key-mode' (bug#72093)
* lisp/which-key.el (which-key-preserve-window-configuration): Correct spelling of "taken". (which-key--create-pages): Correct spelling of "widths". (which-key--start-paging-timer): Correct spelling of "secondary".
-rw-r--r--lisp/which-key.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/which-key.el b/lisp/which-key.el
index 677a84b328d..37b42a009f7 100644
--- a/lisp/which-key.el
+++ b/lisp/which-key.el
@@ -444,7 +444,7 @@ Note that `which-key-idle-delay' should be set before turning on
444If non-nil, save window configuration before which-key buffer is 444If non-nil, save window configuration before which-key buffer is
445shown and restore it after which-key buffer is hidden. It 445shown and restore it after which-key buffer is hidden. It
446prevents which-key from changing window position of visible 446prevents which-key from changing window position of visible
447buffers. Only takken into account when popup type is 447buffers. Only taken into account when popup type is
448side-window." 448side-window."
449 :type 'boolean 449 :type 'boolean
450 :package-version "1.0" :version "30.1") 450 :package-version "1.0" :version "30.1")
@@ -2113,7 +2113,7 @@ should be minimized."
2113(defun which-key--create-pages (keys &optional prefix-keys prefix-title) 2113(defun which-key--create-pages (keys &optional prefix-keys prefix-title)
2114 "Create page strings using `which-key--list-to-pages'. 2114 "Create page strings using `which-key--list-to-pages'.
2115Will try to find the best number of rows and columns using the 2115Will try to find the best number of rows and columns using the
2116given dimensions and the length and wdiths of KEYS. SEL-WIN-WIDTH 2116given dimensions and the length and widths of KEYS. SEL-WIN-WIDTH
2117is the width of the live window." 2117is the width of the live window."
2118 (let* ((max-dims (which-key--popup-max-dimensions)) 2118 (let* ((max-dims (which-key--popup-max-dimensions))
2119 (max-lines (car max-dims)) 2119 (max-lines (car max-dims))
@@ -2825,7 +2825,7 @@ Finally, show the buffer."
2825 (funcall which-key-this-command-keys-function))))) 2825 (funcall which-key-this-command-keys-function)))))
2826 (cancel-timer which-key--paging-timer) 2826 (cancel-timer which-key--paging-timer)
2827 (if which-key-idle-secondary-delay 2827 (if which-key-idle-secondary-delay
2828 ;; we haven't executed a command yet so the secandary 2828 ;; we haven't executed a command yet so the secondary
2829 ;; timer is more relevant here 2829 ;; timer is more relevant here
2830 (which-key--start-timer which-key-idle-secondary-delay t) 2830 (which-key--start-timer which-key-idle-secondary-delay t)
2831 (which-key--start-timer))))))) 2831 (which-key--start-timer)))))))