From: Eshel Yaron Date: Tue, 14 Jan 2025 13:28:40 +0000 (+0100) Subject: Minor cleanup X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae5836c8f7393706b33d82f79a542a054c50d9c6;p=emacs.git Minor cleanup --- diff --git a/lisp/comint.el b/lisp/comint.el index a674f7f7f7c..fc3ebeff516 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -3482,7 +3482,7 @@ filename absolute. For expansion see `expand-file-name' and (ol (make-overlay (nth 0 data) (nth 1 data) nil nil t))) (overlay-put ol 'field 'completion) (unwind-protect - (call-interactively 'minibuffer-completion-help) + (minibuffer-completion-help) (delete-overlay ol)))) diff --git a/lisp/imenu.el b/lisp/imenu.el index b58efa36bf1..e1771e9dc94 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -108,7 +108,7 @@ If `on-mouse' use a popup menu when `imenu' was invoked with the mouse." "Hooks called after jumping to a place in the buffer. Useful things to use here include `reposition-window', `recenter', and -\(lambda () (recenter 0)) to show at top of screen." +(lambda () (recenter 0)) to show at top of screen." :type 'hook) ;;;###autoload @@ -128,7 +128,7 @@ Set it to `imenu--sort-by-name' if you want alphabetic sorting. The function should take two arguments and return t if the first element should come before the second. The arguments are cons cells; -\(NAME . POSITION). Look at `imenu--sort-by-name' for an example." +(NAME . POSITION). Look at `imenu--sort-by-name' for an example." :type '(choice (const :tag "No sorting" nil) (const :tag "Sort by name" imenu--sort-by-name) (function :tag "Another function"))) @@ -307,7 +307,7 @@ POSITION is passed to `imenu-default-goto-function', so it can be a non-number if that variable has been changed. Special elements look like -\(INDEX-NAME POSITION FUNCTION ARGUMENTS...). +(INDEX-NAME POSITION FUNCTION ARGUMENTS...). To \"go to\" a special element means applying FUNCTION to INDEX-NAME, POSITION, and the ARGUMENTS.