# HG changeset patch # User Richard M. Stallman # Date 1119710285 0 # Node ID 79a2185587dcd8005a0e4900444e56794ec4d99b # Parent 60a9b2133cf14edc59565574b6e6a5caab5e7cd1 *** empty log message *** diff -r 60a9b2133cf1 -r 79a2185587dc etc/NEWS --- a/etc/NEWS Sat Jun 25 14:37:47 2005 +0000 +++ b/etc/NEWS Sat Jun 25 14:38:05 2005 +0000 @@ -4097,6 +4097,7 @@ +++ *** The new macro `with-selected-window' temporarily switches the selected window without impacting the order of `buffer-list'. +It saves and restores the current buffer, too. +++ *** `select-window' takes an optional second argument NORECORD. @@ -4106,7 +4107,8 @@ +++ *** `save-selected-window' now saves and restores the selected window of every frame. This way, it restores everything that can be changed -by calling `select-window'. +by calling `select-window'. It also saves and restores the current +buffer. +++ *** `set-window-buffer' has an optional argument KEEP-MARGINS. diff -r 60a9b2133cf1 -r 79a2185587dc lisp/ChangeLog --- a/lisp/ChangeLog Sat Jun 25 14:37:47 2005 +0000 +++ b/lisp/ChangeLog Sat Jun 25 14:38:05 2005 +0000 @@ -1,3 +1,20 @@ +2005-06-25 Richard M. Stallman + + * jka-compr.el (jka-compr-insert-file-contents): + Special handling if cannot find the uncompression program. + + * cus-face.el (custom-face-attributes): Add autoload. + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): + Bind comment-indent-function locally. + + * window.el (save-selected-window): Use save-current-buffer. + + * subr.el (with-selected-window): Use save-current-buffer. + + * progmodes/gud.el (gud-filter): Simplify using with-selected-window + and with-current-buffer. + 2005-06-24 Richard M. Stallman * simple.el (line-move-1): Fix previous change. diff -r 60a9b2133cf1 -r 79a2185587dc lispref/ChangeLog --- a/lispref/ChangeLog Sat Jun 25 14:37:47 2005 +0000 +++ b/lispref/ChangeLog Sat Jun 25 14:38:05 2005 +0000 @@ -1,3 +1,10 @@ +2005-06-25 Richard M. Stallman + + * objects.texi (Equality Predicates): Clarify meaning of equal. + + * windows.texi (Selecting Windows): save-selected-window + and with-selected-window save and restore the current buffer. + 2005-06-24 Richard M. Stallman * numbers.texi (Float Basics): Explain how to test for NaN, diff -r 60a9b2133cf1 -r 79a2185587dc src/ChangeLog --- a/src/ChangeLog Sat Jun 25 14:37:47 2005 +0000 +++ b/src/ChangeLog Sat Jun 25 14:38:05 2005 +0000 @@ -1,5 +1,19 @@ 2005-06-25 Richard M. Stallman + * eval.c (call_debugger): Take full care of extending stack limits + to make space for the debugger, and restore the change afterward. + Bind debug-on-error to nil. + (restore_stack_limits): New subroutine. + (Fsignal): Extend specpdl bound along with eval depth bound, + for calling edebug. Don't do either one, for calling debugger. + (find_handler_clause): Don't bind debug-on-error here. + Don't unbind anything either. + Temporarily advance max_specpdl_size for calling + internal_with_output_to_temp_buffer. + (grow_specpdl): Don't alter max_specpdl_size before signaling + an error. + (syms_of_eval) : Doc fix. + * lread.c (read1): 0.0e+NaN should make a "positive" NaN. 2005-06-24 Eli Zaretskii