changeset 24288:b563359187fd

(compile-auto-highlight): Customize.
author Richard M. Stallman <rms@gnu.org>
date Tue, 09 Feb 1999 09:14:34 +0000
parents dcf83a3ec700
children 7917ac967ee5
files lisp/progmodes/compile.el
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Tue Feb 09 09:03:05 1999 +0000
+++ b/lisp/progmodes/compile.el	Tue Feb 09 09:14:34 1999 +0000
@@ -49,7 +49,7 @@
 		 integer)
   :group 'compilation)
 
-(defvar compile-auto-highlight nil
+(defcustom compile-auto-highlight nil
   "*Specify how many compiler errors to highlight (and parse) initially.
 \(Highlighting applies to an error message when the mouse is over it.)
 If this is a number N, all compiler error messages in the first N lines
@@ -59,7 +59,11 @@
 move to the error messages.
 
 Those messages which are not parsed and highlighted initially
-will be parsed and highlighted as soon as you try to move to them.")
+will be parsed and highlighted as soon as you try to move to them."
+  :type '(choice (const :tag "All" t)
+		 (const :tag "None" nil)
+		 (integer :tag "First N lines"))
+  :group 'compilation)
 
 (defvar compilation-error-list nil
   "List of error message descriptors for visiting erring functions.