From ef7a18a071446ee7a5366bb4d4cbf766661d6bd0 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Tue, 1 Aug 2017 10:13:09 +0200 Subject: [PATCH] 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 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 -- 2.39.2