[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/bug-50244 dd244f5 3/6: Unbreak M-x compile-defun of functions us
From: |
João Távora |
Subject: |
scratch/bug-50244 dd244f5 3/6: Unbreak M-x compile-defun of functions using flymake-log |
Date: |
Fri, 10 Sep 2021 20:52:42 -0400 (EDT) |
branch: scratch/bug-50244
commit dd244f5214f062eec63c1839b49ea21fd700e889
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
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.
---
lisp/progmodes/flymake.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 07c0285..e5e8acb 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -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))))))
- branch scratch/bug-50244 created (now a7c2bf4), João Távora, 2021/09/10
- scratch/bug-50244 71f2913 1/6: Rename flymake--backend-state to flymake--state, João Távora, 2021/09/10
- scratch/bug-50244 a7c2bf4 6/6: Add support for project-wide diagnostics in Flymake, João Távora, 2021/09/10
- scratch/bug-50244 da7900a 5/6: Keep and report "foreign" diangnostics in flymake-cc Flymake backend, João Távora, 2021/09/10
- scratch/bug-50244 e75a5ec 2/6: Refactor some Flymake functions, João Távora, 2021/09/10
- scratch/bug-50244 dd244f5 3/6: Unbreak M-x compile-defun of functions using flymake-log,
João Távora <=
- scratch/bug-50244 08a28fb 4/6: Abbreviate Flymake backend name in flymake-show-diagnostics-buffer, João Távora, 2021/09/10