diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/checkdoc.el | 5 | ||||
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 7 | ||||
-rw-r--r-- | lisp/emacs-lisp/lselect.el | 5 | ||||
-rw-r--r-- | lisp/emacs-lisp/pp.el | 2 | ||||
-rw-r--r-- | lisp/emacs-lisp/syntax.el | 2 | ||||
-rw-r--r-- | lisp/emacs-lisp/tcover-ses.el | 3 | ||||
-rw-r--r-- | lisp/emacs-lisp/tcover-unsafep.el | 2 |
7 files changed, 24 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index 6b6d3ba4393..913ffcf1941 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el @@ -190,6 +190,9 @@ (defmacro defcustom (var value doc &rest args) `(defvar ,var ,value ,doc)))) +(defvar compilation-error-regexp-alist) +(defvar compilation-mode-font-lock-keywords) + (defcustom checkdoc-autofix-flag 'semiautomatic "*Non-nil means attempt auto-fixing of doc strings. If this value is the symbol `query', then the user is queried before @@ -653,7 +656,7 @@ style." "No Additional style errors. Continuing...") (sit-for 2)))))) ;; Move to the next error (if available) - ((or (checkdoc-char= c ?n) (checkdoc-char= c ?\ )) + ((or (checkdoc-char= c ?n) (checkdoc-char= c ?\s)) (let ((ne (funcall findfunc nil))) (if (not ne) (if showstatus diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 6d281e5deb2..e50d5bd125c 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -30,6 +30,11 @@ ;;; Code: +(defvar font-lock-comment-face) +(defvar font-lock-doc-face) +(defvar font-lock-keywords-case-fold-search) +(defvar font-lock-string-face) + (defvar lisp-mode-abbrev-table nil) (defvar emacs-lisp-mode-syntax-table @@ -50,7 +55,7 @@ (while (< i 128) (modify-syntax-entry i "_ " table) (setq i (1+ i))) - (modify-syntax-entry ? " " table) + (modify-syntax-entry ?\s " " table) (modify-syntax-entry ?\t " " table) (modify-syntax-entry ?\f " " table) (modify-syntax-entry ?\n "> " table) diff --git a/lisp/emacs-lisp/lselect.el b/lisp/emacs-lisp/lselect.el index 38ae8b74460..d0b333edfe4 100644 --- a/lisp/emacs-lisp/lselect.el +++ b/lisp/emacs-lisp/lselect.el @@ -34,6 +34,11 @@ ;; all upper-case; this may seem tasteless, but it makes there be a 1:1 ;; correspondence between these symbols and X Atoms (which are upcased.) +;; This is Lucid/XEmacs stuff +(defvar mouse-highlight-priority) +(defvar x-lost-selection-functions) +(defvar zmacs-regions) + (defalias 'x-get-cutbuffer 'x-get-cut-buffer) (defalias 'x-store-cutbuffer 'x-set-cut-buffer) diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el index 542948c777c..1635aa4bfeb 100644 --- a/lisp/emacs-lisp/pp.el +++ b/lisp/emacs-lisp/pp.el @@ -27,6 +27,8 @@ ;;; Code: +(defvar font-lock-verbose) + (defgroup pp nil "Pretty printer for Emacs Lisp." :prefix "pp-" diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el index a3683e82d2b..126c8d50dd9 100644 --- a/lisp/emacs-lisp/syntax.el +++ b/lisp/emacs-lisp/syntax.el @@ -47,6 +47,8 @@ (eval-when-compile (require 'cl)) +(defvar font-lock-beginning-of-syntax-function) + (defsubst syntax-ppss-depth (ppss) (nth 0 ppss)) diff --git a/lisp/emacs-lisp/tcover-ses.el b/lisp/emacs-lisp/tcover-ses.el index 1374aa1fdc0..e79c42180f4 100644 --- a/lisp/emacs-lisp/tcover-ses.el +++ b/lisp/emacs-lisp/tcover-ses.el @@ -23,6 +23,9 @@ (require 'testcover) +(defvar ses-initial-global-parameters) +(defvar ses-mode-map) + ;;;Here are some macros that exercise SES. Set `pause' to t if you want the ;;;macros to pause after each step. (let* ((pause nil) diff --git a/lisp/emacs-lisp/tcover-unsafep.el b/lisp/emacs-lisp/tcover-unsafep.el index 354cfe6ab16..7f7a8fa57de 100644 --- a/lisp/emacs-lisp/tcover-unsafep.el +++ b/lisp/emacs-lisp/tcover-unsafep.el @@ -25,6 +25,8 @@ (require 'testcover) +(defvar safe-functions) + ;;;These forms are all considered safe (defconst testcover-unsafep-safe '(((lambda (x) (* x 2)) 14) |