diff options
| author | Thien-Thi Nguyen | 2007-06-23 12:19:38 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2007-06-23 12:19:38 +0000 |
| commit | 28adf31caa5f571d30c028a63563db94a548f164 (patch) | |
| tree | fc1c0fe900a43bb48f29c3a78550df7d4a9b2637 | |
| parent | 56fbb895add1b5ced98534e448980797112bdbae (diff) | |
| download | emacs-28adf31caa5f571d30c028a63563db94a548f164.tar.gz emacs-28adf31caa5f571d30c028a63563db94a548f164.zip | |
(next-error-recenter): Accept `(4)' as well;
also, specify `integer' instead of `number'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/simple.el | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8f687cfdd15..9b00e749452 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-06-23 Thien-Thi Nguyen <ttn@gnuvola.org> | ||
| 2 | |||
| 3 | * simple.el (next-error-recenter): Accept `(4)' as well; | ||
| 4 | also, specify `integer' instead of `number'. | ||
| 5 | |||
| 1 | 2007-06-23 Eli Zaretskii <eliz@gnu.org> | 6 | 2007-06-23 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * ls-lisp.el (insert-directory): If an invalid regexp error is | 8 | * ls-lisp.el (insert-directory): If an invalid regexp error is |
diff --git a/lisp/simple.el b/lisp/simple.el index 765032f9f8d..b6b55a5f2eb 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -157,9 +157,10 @@ If `fringe-arrow', indicate the locus by the fringe arrow." | |||
| 157 | :version "22.1") | 157 | :version "22.1") |
| 158 | 158 | ||
| 159 | (defcustom next-error-recenter nil | 159 | (defcustom next-error-recenter nil |
| 160 | "*Display the line in the visited source file recentered to this number. | 160 | "*Display the line in the visited source file recentered as specified. |
| 161 | If nil, don't do any recentering. See `recenter'." | 161 | If non-nil, the value is passed directly to `recenter'." |
| 162 | :type '(choice (number :tag "Argument for `recenter'") | 162 | :type '(choice (integer :tag "Line to recenter to") |
| 163 | (const :tag "Center of window" (4)) | ||
| 163 | (const :tag "No recentering" nil)) | 164 | (const :tag "No recentering" nil)) |
| 164 | :group 'next-error | 165 | :group 'next-error |
| 165 | :version "23.1") | 166 | :version "23.1") |