mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-25 14:27:34 +00:00
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
0c1cb42b5b
commit
2a02ac1fda
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…
Reference in a new issue