* lisp/emacs-lisp/check-declare.el (check-declare-warn):

Don't print filename twice (it's in the prefix now).
This commit is contained in:
Glenn Morris 2015-06-16 20:45:35 -04:00
parent d3b779fa79
commit b7d5033c39

View 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" ())