2012-09-27 Glenn Morris <rgm@gnu.org>
+ * 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.
"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
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)))