# HG changeset patch # User Stefan Monnier # Date 1206819476 0 # Node ID 1a844d29f8e38105895c6f225ba58d6587427071 # Parent 9f51ca9e608224ea4e788127d622d4723e9dd769 (vc-do-command): Don't show internal temp buffers. diff -r 9f51ca9e6082 -r 1a844d29f8e3 lisp/ChangeLog --- a/lisp/ChangeLog Sat Mar 29 00:48:57 2008 +0000 +++ b/lisp/ChangeLog Sat Mar 29 19:37:56 2008 +0000 @@ -1,3 +1,7 @@ +2008-03-29 Stefan Monnier + + * vc.el (vc-do-command): Don't show internal temp buffers. + 2008-03-29 YAMAMOTO Mitsuharu * term/mac-win.el (mac-ae-reopen-application): New function. @@ -17,8 +21,8 @@ 2008-03-23 Andreas Schwab - * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]: Fix - radio button condition. + * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]: + Fix radio button condition. [box]: Likewise. [customize]: Add radio button. @@ -30,8 +34,8 @@ 2008-03-19 Wilson Snyder - * progmodes/verilog-mode.el (verilog-easy-menu-filter): New - function. + * progmodes/verilog-mode.el (verilog-easy-menu-filter): + New function. (verilog-stmt-menu, verilog-menu): Add :help. (verilog-customize, verilog-font-customize) (electric-verilog-backward-sexp, electric-verilog-forward-sexp) @@ -39,8 +43,8 @@ (verilog-auto-search-do, verilog-auto-re-search-do) (verilog-skip-forward-comment-or-string): Fix verilog-auto expansion when a .* appears inside a string. - (verilog-re-search-forward, verilog-re-search-backward): Add - comment to recall how this works. + (verilog-re-search-forward, verilog-re-search-backward): + Add comment to recall how this works. 2008-03-19 Reiner Steib diff -r 9f51ca9e6082 -r 1a844d29f8e3 lisp/vc.el --- a/lisp/vc.el Sat Mar 29 00:48:57 2008 +0000 +++ b/lisp/vc.el Sat Mar 29 19:37:56 2008 +0000 @@ -1047,9 +1047,14 @@ (when (and (not (eq t okstatus)) (or (not (integerp status)) (and okstatus (< okstatus status)))) - (pop-to-buffer (current-buffer)) - (goto-char (point-min)) - (shrink-window-if-larger-than-buffer) + ;; Don't show internal temp buffers. Especially since, together + ;; with with-temp-buffer and pop-up-frames, this can result in + ;; bugs where with-temp-buffer ends up not preserving + ;; current-buffer (because kill-buffer doesn't preserve it). + (unless (eq ?\s (aref (buffer-name (current-buffer)) 0)) + (pop-to-buffer (current-buffer)) + (goto-char (point-min)) + (shrink-window-if-larger-than-buffer)) (error "Running %s...FAILED (%s)" command (if (integerp status) (format "status %d" status) status)))) (if vc-command-messages