Commit 8e5064e5 authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/linum.el (linum-format): Don't autoload it. Improve :type.

parent cc1783c2
2012-09-27 Glenn Morris <>
* linum.el (linum-format): Don't autoload it. Improve :type.
* progmodes/tcl.el: Don't require outline when compiling.
(outline-regexp, outline-level): Declare.
* textmodes/sgml-mode.el: Don't require outline when compiling.
......@@ -44,7 +44,6 @@
"Show line numbers in the left margin."
:group 'convenience)
(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)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment