changeset 81587:7be7263c7d7f

(next-error-recenter): Accept `(4)' as well; also, specify `integer' instead of `number'.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Sat, 23 Jun 2007 12:18:52 +0000
parents e4619c8ad7b7
children e10375900797
files lisp/simple.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Sat Jun 23 11:15:26 2007 +0000
+++ b/lisp/simple.el	Sat Jun 23 12:18:52 2007 +0000
@@ -157,9 +157,10 @@
   :version "22.1")
 
 (defcustom next-error-recenter nil
-  "*Display the line in the visited source file recentered to this number.
-If nil, don't do any recentering.  See `recenter'."
-  :type '(choice (number :tag "Argument for `recenter'")
+  "*Display the line in the visited source file recentered as specified.
+If non-nil, the value is passed directly to `recenter'."
+  :type '(choice (integer :tag "Line to recenter to")
+                 (const :tag "Center of window" (4))
                  (const :tag "No recentering" nil))
   :group 'next-error
   :version "23.1")