Commit d28a2170 authored by Paul Eggert's avatar Paul Eggert
Browse files

* eval.c (Fdefvar): Rewrite so as not to use empty "else".

parent 475545b5
2011-03-16 Paul Eggert <eggert@cs.ucla.edu> 2011-03-16 Paul Eggert <eggert@cs.ucla.edu>
   
* eval.c (call_debugger, do_debug_on_call, grow_specpdl): Now static. * eval.c (call_debugger, do_debug_on_call, grow_specpdl): Now static.
(Fdefvar): Rewrite so as not to use empty "else".
   
* callint.c (quotify_arg, quotify_args): Now static. * callint.c (quotify_arg, quotify_args): Now static.
(Fcall_interactively): Rename locals to avoid shadowing. (Fcall_interactively): Rename locals to avoid shadowing.
...@@ -801,10 +801,11 @@ usage: (defvar SYMBOL &optional INITVALUE DOCSTRING) */) ...@@ -801,10 +801,11 @@ usage: (defvar SYMBOL &optional INITVALUE DOCSTRING) */)
LOADHIST_ATTACH (sym); LOADHIST_ATTACH (sym);
} }
else else
/* Simple (defvar <var>) should not count as a definition at all. {
It could get in the way of other definitions, and unloading this /* Simple (defvar <var>) should not count as a definition at all.
package could try to make the variable unbound. */ It could get in the way of other definitions, and unloading this
; package could try to make the variable unbound. */
}
return sym; return sym;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment