also, specify `integer' instead of `number'.
+2007-06-23 Thien-Thi Nguyen <ttn@gnuvola.org>
+
+ * simple.el (next-error-recenter): Accept `(4)' as well;
+ also, specify `integer' instead of `number'.
+
2007-06-23 Eli Zaretskii <eliz@gnu.org>
* ls-lisp.el (insert-directory): If an invalid regexp error is
: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")