Unbreak M-x compile-defun of functions using flymake-log
* lisp/progmodes/flymake.el (flymake-log): Check if compilation unit is indeed a string before treating it as a file name.
This commit is contained in:
parent
4040232994
commit
e793a73fbe
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ generated it."
|
|||
(macroexp-file-name)
|
||||
(and (not load-file-name)
|
||||
(bound-and-true-p byte-compile-current-file))))
|
||||
(sublog (if file
|
||||
(sublog (if (stringp file)
|
||||
(intern
|
||||
(file-name-nondirectory
|
||||
(file-name-sans-extension file))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue