]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/check-declare.el (check-declare-warn):
authorGlenn Morris <rgm@gnu.org>
Wed, 17 Jun 2015 00:45:35 +0000 (20:45 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 17 Jun 2015 00:45:35 +0000 (20:45 -0400)
Don't print filename twice (it's in the prefix now).

lisp/emacs-lisp/check-declare.el

index ecdb6d8983c0ed2f1333088783f19291350f08ec..ea865f22f5780c628eb66c85f2d6f8bd97a60019 100644 (file)
@@ -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" ())