GNU bug report logs -
#29014
[PATCH] Fix typo in error message
Previous Next
Reported by: Lele Gaifax <lele <at> metapensiero.it>
Date: Thu, 26 Oct 2017 15:47:02 UTC
Severity: minor
Tags: fixed, patch
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
There is a typo in the legacy Flymake backend, when it cannot find a suitable
initialization function it says "Can find..." instead of "Cannot find...".
ciao, lele.
[0001-Fix-typo-in-error-message.patch (text/x-diff, inline)]
From ee6bb6d3f0a79c6322c10923abdd0aaa64183163 Mon Sep 17 00:00:00 2001
From: Lele Gaifax <lele <at> metapensiero.it>
Date: Thu, 26 Oct 2017 17:34:25 +0200
Subject: [PATCH] Fix typo in error message
* lisp/progmodes/flymake-proc.el (flymake-proc-legacy-flymake):
Replace "Can find" with "Cannot find" in error message about missing
init-f.
---
lisp/progmodes/flymake-proc.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/flymake-proc.el b/lisp/progmodes/flymake-proc.el
index a9caef4fc8..e37e8a4ab3 100644
--- a/lisp/progmodes/flymake-proc.el
+++ b/lisp/progmodes/flymake-proc.el
@@ -753,7 +753,7 @@ flymake-proc-legacy-flymake
;; trying if the directory is read-only (bug#8954).
(file-writable-p (file-name-directory buffer-file-name))
(flymake-proc--get-init-function buffer-file-name))))
- (unless init-f (error "Can find a suitable init function"))
+ (unless init-f (error "Cannot find a suitable init function"))
(flymake-proc--clear-buildfile-cache)
(flymake-proc--clear-project-include-dirs-cache)
--
2.15.0.rc2
[Message part 3 (text/plain, inline)]
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele <at> metapensiero.it | -- Fortunato Depero, 1929.
This bug report was last modified 7 years and 226 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.