* 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:
parent
d3b779fa79
commit
b7d5033c39
1 changed files with 2 additions and 4 deletions
|
@ -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" ())
|
||||
|
|
Loading…
Add table
Reference in a new issue