]> code.delx.au - gnu-emacs/commitdiff
(compile-auto-highlight): Customize.
authorRichard M. Stallman <rms@gnu.org>
Tue, 9 Feb 1999 09:14:34 +0000 (09:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 9 Feb 1999 09:14:34 +0000 (09:14 +0000)
lisp/progmodes/compile.el

index 93e22bd3e58706112900a2c047440202e6e11319..216efddb0a96dcb24d8c9a68b560c5375a9f94ec 100644 (file)
@@ -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 @@ If nil, don't highlight or parse any of the buffer until you try to
 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.