* [PATCH] Fix the use of obsolete 'error' warning level
@ 2020-12-22 14:40 Evgeny Zajcev
2020-12-23 3:24 ` Stefan Kangas
0 siblings, 1 reply; 2+ messages in thread
From: Evgeny Zajcev @ 2020-12-22 14:40 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1.1: Type: text/plain, Size: 63 bytes --]
I found a typo in 'auto_save_error'
here is the patch
--
lg
[-- Attachment #1.2: Type: text/html, Size: 232 bytes --]
[-- Attachment #2: 0001-Fix-the-use-of-obsolete-error-warning-level.patch --]
[-- Type: text/x-patch, Size: 863 bytes --]
From 2cd2c7f7f3104dfa593fa685e632df2ecac6ff5e Mon Sep 17 00:00:00 2001
From: Zajcev Evgeny <zevlg@yandex.ru>
Date: Tue, 22 Dec 2020 17:37:38 +0300
Subject: [PATCH] Fix the use of obsolete 'error' warning level
* src/fileio.c (auto_save_error): Use new style ':error' warning level
instead of obsolete 'error'
---
src/fileio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/fileio.c b/src/fileio.c
index c97f4daf20..3c37afd6c8 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5752,7 +5752,7 @@ auto_save_error (Lisp_Object error_val)
Lisp_Object msg = CALLN (Fformat, format, BVAR (current_buffer, name),
Ferror_message_string (error_val));
call3 (intern ("display-warning"),
- intern ("auto-save"), msg, intern ("error"));
+ intern ("auto-save"), msg, intern (":error"));
return Qnil;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix the use of obsolete 'error' warning level
2020-12-22 14:40 [PATCH] Fix the use of obsolete 'error' warning level Evgeny Zajcev
@ 2020-12-23 3:24 ` Stefan Kangas
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2020-12-23 3:24 UTC (permalink / raw)
To: Evgeny Zajcev, emacs-devel
Evgeny Zajcev <lg.zevlg@gmail.com> writes:
> I found a typo in 'auto_save_error'
>
> here is the patch
Thanks, edited the commit message slightly and pushed to master as
commit a649869d04.
(I also fixed a similar problem in commit 832d756893.)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-23 3:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22 14:40 [PATCH] Fix the use of obsolete 'error' warning level Evgeny Zajcev
2020-12-23 3:24 ` Stefan Kangas
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).