GNU bug report logs -
#24555
[PATCH] Remove unused variable `command-debug-status'
Previous Next
Full log
Message #38 received at 24555 <at> debbugs.gnu.org (full text, mbox):
>> Philippe, can you do this, please? It should be done on the emacs-25
>> branch, since the specbind was deleted in 25.1.
Okay, here we go.
https://github.com/Silex/emacs/compare/emacs-25~2...Silex:emacs-25
https://github.com/Silex/emacs/commit/c8566ff77a347e7efc4cb2819cd7f58b68876e6f.patch
https://github.com/Silex/emacs/commit/e34b40dc4d12a0d806e59ccbf682b0980480ff88.patch
What is your prefered way to receive patches?
---
src/callint.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/callint.c b/src/callint.c
index 053ee6c..4652151 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -837,7 +837,10 @@ invoke it. If KEYS is omitted or nil, the return value of
kset_last_command (current_kboard, save_last_command);
{
- Lisp_Object val = Ffuncall (nargs, args);
+ Lisp_Object val;
+ specbind (Vcommand_debug_status, Qnil);
+
+ val = Ffuncall (nargs, args);
val = unbind_to (speccount, val);
SAFE_FREE ();
return val;
---
doc/lispref/debugging.texi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index 2f83b40..322acd0 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -654,6 +654,8 @@ invocation.
The advantage of using this variable rather than an ordinary global
variable is that the data will never carry over to a subsequent command
invocation.
+
+This variable is obsolete and should be removed in future versions.
@end defvar
@defun backtrace-frame frame-number
This bug report was last modified 8 years and 227 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.