From: Jimmy Aguilar Mena Date: Sun, 15 Nov 2020 07:11:14 +0000 (+0100) Subject: Add autoload decorator. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5cf9dd62c58f9c7b73f35bbf3468ab1fd3166d97;p=emacs.git Add autoload decorator. * lisp/completions-highlight.el (completions-highlight-mode) : Added autoload decorator. --- diff --git a/lisp/completions-highlight.el b/lisp/completions-highlight.el index f9d85bdf28f..624013b1c30 100644 --- a/lisp/completions-highlight.el +++ b/lisp/completions-highlight.el @@ -99,7 +99,6 @@ TRY-VSCROLL is passed straight to `line-move'" ;; Minibuffer side commands - (defmacro with-minibuffer-scroll-window (&rest body) "Execute BODY in *Completions* buffer and return to `minibuffer'. The command is only executed if the `minibuffer-scroll-window' is @@ -149,7 +148,6 @@ executed in another window, but cursor stays in minibuffer." (completions-highlight-previous-line-completion n))) ;; General commands - (defun minibuffer-completion-set-suffix (choice) "Set CHOICE suffix to current completion. It uses `completion-base-position' to determine the cursor @@ -254,6 +252,7 @@ It is called when showing the *Completions* buffer." (use-local-map (make-composed-keymap completions-highlight-minibuffer-map (current-local-map)))) +;;;###autoload (define-minor-mode completions-highlight-mode "Completion highlight mode to enable candidates highlight in the minibuffer." :global t