]> code.delx.au - gnu-emacs/blobdiff - lisp/emacs-lisp/check-declare.el
Fix RCS crashes in vc-test
[gnu-emacs] / lisp / emacs-lisp / check-declare.el
index 7269b83b61917fec0b18473d8dd6bc35ecb19e24..ea865f22f5780c628eb66c85f2d6f8bd97a60019 100644 (file)
@@ -98,7 +98,7 @@ don't know how to recognize (e.g. some macros)."
                  (stringp (setq fnfile (nth 2 form)))
                  (setq fnfile (check-declare-locate fnfile
                                                     (expand-file-name file)))
-                 ;; Use `t' to distinguish unspecified arglist from empty one.
+                 ;; Use t to distinguish unspecified arglist from empty one.
                  (or (eq t (setq arglist (if (> len 3)
                                              (nth 3 form)
                                            t)))
@@ -279,10 +279,8 @@ TYPE is a string giving the nature of the error.  Warning is displayed in
            entry))
         (warning-fill-prefix "    "))
     (display-warning 'check-declare
-                     (format "%s said `%s' was defined in %s: %s"
-                             (file-name-nondirectory file) fn
-                             (file-name-nondirectory fnfile)
-                             type)
+                     (format "said `%s' was defined in %s: %s"
+                             fn (file-name-nondirectory fnfile) type)
                      nil check-declare-warning-buffer)))
 
 (declare-function compilation-forget-errors "compile" ())