[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recentering for next-error

From: Thien-Thi Nguyen
Subject: Re: recentering for next-error
Date: Sat, 23 Jun 2007 00:11:49 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

() Juri Linkov <address@hidden>
() Fri, 22 Jun 2007 22:32:23 +0300

   when I set the `recenter' argument in the Customization
   buffer to the value `(4)', this doesn't work.

i see expected behavior using:

  (setq next-error-recenter '(4))

presently, the defcustom for next-error-recenter permits only
numbers and nil.  how about this one?

(defcustom next-error-recenter nil
  "*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")

changes: s/number/integer/, add const (4), docstring update.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]