unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29014: [PATCH] Fix typo in error message
@ 2017-10-26 15:46 Lele Gaifax
  2018-01-01 17:39 ` Noam Postavsky
  0 siblings, 1 reply; 2+ messages in thread
From: Lele Gaifax @ 2017-10-26 15:46 UTC (permalink / raw)
  To: 29014

[-- Attachment #1: Type: text/plain, Size: 167 bytes --]

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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-typo-in-error-message.patch --]
[-- Type: text/x-diff, Size: 1133 bytes --]

From ee6bb6d3f0a79c6322c10923abdd0aaa64183163 Mon Sep 17 00:00:00 2001
From: Lele Gaifax <lele@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


[-- Attachment #3: Type: text/plain, Size: 211 bytes --]


-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#29014: [PATCH] Fix typo in error message
  2017-10-26 15:46 bug#29014: [PATCH] Fix typo in error message Lele Gaifax
@ 2018-01-01 17:39 ` Noam Postavsky
  0 siblings, 0 replies; 2+ messages in thread
From: Noam Postavsky @ 2018-01-01 17:39 UTC (permalink / raw)
  To: Lele Gaifax; +Cc: 29014

tags 29014 fixed
close 29014 
quit

Lele Gaifax <lele@metapensiero.it> writes:

> 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...".

It was fixed with "Can't find..." instead.

[1: c65a0ae7c4]: 2017-11-22 01:51:48 +0200
  ; Fix a typo
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c65a0ae7c4592d7fd9a47de3231e6ed07807f8af





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-01 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-26 15:46 bug#29014: [PATCH] Fix typo in error message Lele Gaifax
2018-01-01 17:39 ` Noam Postavsky

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).