aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-09-27 00:26:22 -0700
committerGlenn Morris2012-09-27 00:26:22 -0700
commit8e5064e528c40e8b5e8bd5b93ca6addd4ff99f08 (patch)
treee200eab100cc907040d352f5f7bac7e99cd763fb
parentcc1783c2d8f104d79a4677795554a440c6f07a4a (diff)
downloademacs-8e5064e528c40e8b5e8bd5b93ca6addd4ff99f08.tar.gz
emacs-8e5064e528c40e8b5e8bd5b93ca6addd4ff99f08.zip
* lisp/linum.el (linum-format): Don't autoload it. Improve :type.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/linum.el5
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 499d9f7b330..bf530346026 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12012-09-27 Glenn Morris <rgm@gnu.org> 12012-09-27 Glenn Morris <rgm@gnu.org>
2 2
3 * linum.el (linum-format): Don't autoload it. Improve :type.
4
3 * progmodes/tcl.el: Don't require outline when compiling. 5 * progmodes/tcl.el: Don't require outline when compiling.
4 (outline-regexp, outline-level): Declare. 6 (outline-regexp, outline-level): Declare.
5 * textmodes/sgml-mode.el: Don't require outline when compiling. 7 * textmodes/sgml-mode.el: Don't require outline when compiling.
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 @@
44 "Show line numbers in the left margin." 44 "Show line numbers in the left margin."
45 :group 'convenience) 45 :group 'convenience)
46 46
47;;;###autoload
48(defcustom linum-format 'dynamic 47(defcustom linum-format 'dynamic
49 "Format used to display line numbers. 48 "Format used to display line numbers.
50Either a format string like \"%7d\", `dynamic' to adapt the width 49Either 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
52argument and should evaluate to a string to be shown on that line. 51argument and should evaluate to a string to be shown on that line.
53See also `linum-before-numbering-hook'." 52See also `linum-before-numbering-hook'."
54 :group 'linum 53 :group 'linum
55 :type 'sexp) 54 :type '(choice (string :tag "Format string")
55 (const :tag "Dynamic width" dynamic)
56 (function :tag "Function")))
56 57
57(defface linum 58(defface linum
58 '((t :inherit (shadow default))) 59 '((t :inherit (shadow default)))