emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ef7a18a: Follow SAUNA recommendations for display-l


From: Michael Albinus
Subject: [Emacs-diffs] master ef7a18a: Follow SAUNA recommendations for display-line-numbers-type
Date: Tue, 1 Aug 2017 04:13:18 -0400 (EDT)

branch: master
commit ef7a18a071446ee7a5366bb4d4cbf766661d6bd0
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Follow SAUNA recommendations for display-line-numbers-type
    
    * lisp/display-line-numbers.el (display-line-numbers-type): Do not autoload.
    
    * lisp/menu-bar.el (display-line-numbers-type): Declare.
---
 lisp/display-line-numbers.el | 1 -
 lisp/menu-bar.el             | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/display-line-numbers.el b/lisp/display-line-numbers.el
index a994745..c9dd28a 100644
--- a/lisp/display-line-numbers.el
+++ b/lisp/display-line-numbers.el
@@ -38,7 +38,6 @@
   "Display line numbers in the buffer."
   :group 'display)
 
-;;;###autoload
 (defcustom display-line-numbers-type t
   "The default type of line numbers to use in `display-line-numbers-mode'.
 See `display-line-numbers' for value options."
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 05a336b..75ffd1e 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1101,6 +1101,7 @@ The selected font will be the default on both the 
existing and future frames."
                     :button (:radio . (eq tool-bar-mode nil))))
       menu)))
 
+(defvar display-line-numbers-type)
 (defun menu-bar-display-line-numbers-mode (type)
   (setq display-line-numbers-type type)
   (if global-display-line-numbers-mode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]