]> git.eshelyaron.com Git - emacs.git/commitdiff
Add autoload decorator.
authorJimmy Aguilar Mena <spacibba@aol.com>
Sun, 15 Nov 2020 07:11:14 +0000 (08:11 +0100)
committerJimmy Aguilar Mena <spacibba@aol.com>
Fri, 20 Nov 2020 18:03:23 +0000 (19:03 +0100)
* lisp/completions-highlight.el (completions-highlight-mode) : Added
autoload decorator.

lisp/completions-highlight.el

index f9d85bdf28fdd6d02d306961577c0c65fb3d0f1c..624013b1c306919567332c4133bb0af3bbf93886 100644 (file)
@@ -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