diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-09-22 20:26:40 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-09-22 20:26:40 +0200 |
commit | aebba085cba13ad1439462923ffa0520456f1aad (patch) | |
tree | 46a8edec2ec2d81da8c4031a79fc5ee08c016933 /lisp/menu-bar.el | |
parent | 7f06fe894cabf8f33e10386d6adb5d2ce9481a25 (diff) | |
download | emacs-aebba085cba13ad1439462923ffa0520456f1aad.tar.gz emacs-aebba085cba13ad1439462923ffa0520456f1aad.tar.bz2 emacs-aebba085cba13ad1439462923ffa0520456f1aad.zip |
; More minor stylistic fixes found by checkdoc
Diffstat (limited to 'lisp/menu-bar.el')
-rw-r--r-- | lisp/menu-bar.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 07f7beb92c8..e84eec5002c 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -2156,7 +2156,7 @@ otherwise it could decide to silently do nothing." (> count 1))) (defcustom yank-menu-length 20 - "Maximum length to display in the yank-menu." + "Maximum length to display in the `yank-menu'." :type 'integer :group 'menu) @@ -2289,7 +2289,7 @@ Buffers menu is regenerated." It must accept a buffer as its only required argument.") (defun menu-bar-buffer-vector (alist) - ;; turn ((name . buffer) ...) into a menu + "Turn ((name . buffer) ...) into a menu." (let ((buffers-vec (make-vector (length alist) nil)) (i (length alist))) (dolist (pair alist) @@ -2303,7 +2303,7 @@ It must accept a buffer as its only required argument.") buffers-vec)) (defun menu-bar-update-buffers (&optional force) - ;; If user discards the Buffers item, play along. + "If user discards the Buffers item, play along." (and (lookup-key (current-global-map) [menu-bar buffer]) (or force (frame-or-buffer-changed-p)) (let ((buffers (buffer-list)) |