diff options
author | Glenn Morris <rgm@gnu.org> | 2012-09-27 00:26:22 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-09-27 00:26:22 -0700 |
commit | 8e5064e528c40e8b5e8bd5b93ca6addd4ff99f08 (patch) | |
tree | e200eab100cc907040d352f5f7bac7e99cd763fb /lisp/linum.el | |
parent | cc1783c2d8f104d79a4677795554a440c6f07a4a (diff) | |
download | emacs-8e5064e528c40e8b5e8bd5b93ca6addd4ff99f08.tar.gz |
* lisp/linum.el (linum-format): Don't autoload it. Improve :type.
Diffstat (limited to 'lisp/linum.el')
-rw-r--r-- | lisp/linum.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/linum.el b/lisp/linum.el index 162dc19f437..3c278dbbf3b 100644 --- a/lisp/linum.el +++ b/lisp/linum.el @@ -44,7 +44,6 @@ "Show line numbers in the left margin." :group 'convenience) -;;;###autoload (defcustom linum-format 'dynamic "Format used to display line numbers. Either a format string like \"%7d\", `dynamic' to adapt the width @@ -52,7 +51,9 @@ as needed, or a function that is called with a line number as its argument and should evaluate to a string to be shown on that line. See also `linum-before-numbering-hook'." :group 'linum - :type 'sexp) + :type '(choice (string :tag "Format string") + (const :tag "Dynamic width" dynamic) + (function :tag "Function"))) (defface linum '((t :inherit (shadow default))) |