From: Michael Albinus Date: Tue, 1 Aug 2017 08:13:09 +0000 (+0200) Subject: Follow SAUNA recommendations for display-line-numbers-type X-Git-Tag: emacs-26.0.90~517^2~56 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ef7a18a071446ee7a5366bb4d4cbf766661d6bd0;p=emacs.git 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. --- diff --git a/lisp/display-line-numbers.el b/lisp/display-line-numbers.el index a99474547bf..c9dd28a40fa 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 05a336bfe28..75ffd1e2b49 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