[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e793a73 3/8: Unbreak M-x compile-defun of functions using flymake
From: |
João Távora |
Subject: |
master e793a73 3/8: Unbreak M-x compile-defun of functions using flymake-log |
Date: |
Tue, 14 Sep 2021 07:28:26 -0400 (EDT) |
branch: master
commit e793a73fbea3167368bd173211c1995e07dcf913
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 6386718..b1dbde9 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))))))
- master updated (eeb6d9d -> 56254fb), João Távora, 2021/09/14
- master 6e10086 1/8: Rename flymake--backend-state to flymake--state, João Távora, 2021/09/14
- master 4040232 2/8: Refactor some Flymake functions, João Távora, 2021/09/14
- master e793a73 3/8: Unbreak M-x compile-defun of functions using flymake-log,
João Távora <=
- master 7d9d395 4/8: Abbreviate Flymake backend name in flymake-show-diagnostics-buffer, João Távora, 2021/09/14
- master 4633e02 7/8: Add support for project-wide diagnostics in Flymake (bug#50244), João Távora, 2021/09/14
- master 79eb840 6/8: Bump lisp/progmodes/project.el version to 0.7.1, João Távora, 2021/09/14
- master 56254fb 8/8: Re-organize and rewrite parts of the Flymake manual, João Távora, 2021/09/14
- master aec08e6 5/8: Keep and report "foreign" diangnostics in flymake-cc Flymake backend, João Távora, 2021/09/14