]> git.eshelyaron.com Git - emacs.git/commitdiff
Minor cleanups
authorEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 06:50:13 +0000 (08:50 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 06:50:13 +0000 (08:50 +0200)
lisp/emacs-lisp/eldoc.el
lisp/register.el

index 5b4b9f56fc910b76e6b5a32de862430bf76ec7c5..f9f746ae026e74f7c42ca841a77dfa6d09789267 100644 (file)
@@ -957,7 +957,7 @@ Intended for `eldoc-documentation-functions' (which see)."
 (defun eldoc-add-command-completions (&rest names)
   "Pass every prefix completion of NAMES to `eldoc-add-command'."
   (dolist (name names)
-    (apply #'eldoc-add-command (all-completions name obarray 'commandp))))
+    (apply #'eldoc-add-command (all-completions name obarray #'commandp))))
 
 (defun eldoc-remove-command (&rest cmds)
   "Remove each of CMDS from the obarray `eldoc-message-commands'."
index 34e8221e17de4ad8fd176fd6e16561c32bcec31f..603e9c8019ca5a84441afde4b43cbaa4224faddb 100644 (file)
@@ -87,7 +87,6 @@ A list of the form (FRAME-CONFIGURATION POSITION)
 When collecting text with \\[append-to-register] (or \\[prepend-to-register]),
 contents of this register is added to the beginning (or end, respectively)
 of the marked text."
-  :group 'register
   :type '(choice (const :tag "None" nil)
                 (character :tag "Use register" :value ?+)))
 
@@ -96,8 +95,7 @@ of the marked text."
 If nil, do not show register previews, unless `help-char' (or a member of
 `help-event-list') is pressed."
   :version "24.4"
-  :type '(choice number (const :tag "No preview unless requested" nil))
-  :group 'register)
+  :type '(choice number (const :tag "No preview unless requested" nil)))
 
 (defcustom register-confirm-overwrite t
   "Whether to ask for confirmation before overwriting register contents.
@@ -108,8 +106,7 @@ defining or executing a keyboard macro, Emacs overwrites the
 previous contents of the register without confirmation,
 regardless of the value of this option."
   :version "30.1"
-  :type 'boolean
-  :group 'register)
+  :type 'boolean)
 
 (defun register-confirm-overwrite ()
   "Return non-nil if Emacs should confirm overwriting register contents.