# HG changeset patch # User Thien-Thi Nguyen # Date 1182601132 0 # Node ID 7be7263c7d7f4ec158fb327ba2b83d32b7be08d1 # Parent e4619c8ad7b7a0fb453a768c0be339470fd82215 (next-error-recenter): Accept `(4)' as well; also, specify `integer' instead of `number'. diff -r e4619c8ad7b7 -r 7be7263c7d7f lisp/simple.el --- 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")