Mercurial > emacs
comparison lisp/emacs-lisp/checkdoc.el @ 65191:9dda4c47e83d
(compilation-error-regexp-alist, compilation-mode-font-lock-keywords):
Add defvars.
(checkdoc-interactive-loop): "?\ " -> "?\s".
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 29 Aug 2005 10:41:37 +0000 |
parents | 5b1a238fcbb4 |
children | ed770a0a7846 a3716f7538f2 |
comparison
equal
deleted
inserted
replaced
65190:ba16937f9b3f | 65191:9dda4c47e83d |
---|---|
187 nil) | 187 nil) |
188 (defmacro custom-add-option (&rest args) | 188 (defmacro custom-add-option (&rest args) |
189 nil) | 189 nil) |
190 (defmacro defcustom (var value doc &rest args) | 190 (defmacro defcustom (var value doc &rest args) |
191 `(defvar ,var ,value ,doc)))) | 191 `(defvar ,var ,value ,doc)))) |
192 | |
193 (defvar compilation-error-regexp-alist) | |
194 (defvar compilation-mode-font-lock-keywords) | |
192 | 195 |
193 (defcustom checkdoc-autofix-flag 'semiautomatic | 196 (defcustom checkdoc-autofix-flag 'semiautomatic |
194 "*Non-nil means attempt auto-fixing of doc strings. | 197 "*Non-nil means attempt auto-fixing of doc strings. |
195 If this value is the symbol `query', then the user is queried before | 198 If this value is the symbol `query', then the user is queried before |
196 any change is made. If the value is `automatic', then all changes are | 199 any change is made. If the value is `automatic', then all changes are |
651 (t | 654 (t |
652 (message | 655 (message |
653 "No Additional style errors. Continuing...") | 656 "No Additional style errors. Continuing...") |
654 (sit-for 2)))))) | 657 (sit-for 2)))))) |
655 ;; Move to the next error (if available) | 658 ;; Move to the next error (if available) |
656 ((or (checkdoc-char= c ?n) (checkdoc-char= c ?\ )) | 659 ((or (checkdoc-char= c ?n) (checkdoc-char= c ?\s)) |
657 (let ((ne (funcall findfunc nil))) | 660 (let ((ne (funcall findfunc nil))) |
658 (if (not ne) | 661 (if (not ne) |
659 (if showstatus | 662 (if showstatus |
660 (setq returnme err-list | 663 (setq returnme err-list |
661 err-list nil) | 664 err-list nil) |