diff options
| author | Stefan Monnier | 2008-03-29 19:37:56 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-03-29 19:37:56 +0000 |
| commit | 5295bd50b5a645e404eff55571fc9f30bf7da191 (patch) | |
| tree | dfce0e8cff1c08e22e709d8d36cd0c4ef55e32a0 | |
| parent | d497bce3e76a5cd503908c967bc3bf42b622c0cc (diff) | |
| download | emacs-5295bd50b5a645e404eff55571fc9f30bf7da191.tar.gz emacs-5295bd50b5a645e404eff55571fc9f30bf7da191.zip | |
(vc-do-command): Don't show internal temp buffers.
| -rw-r--r-- | lisp/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/vc.el | 11 |
2 files changed, 18 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f105ab3a968..061bc57bc5f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * vc.el (vc-do-command): Don't show internal temp buffers. | ||
| 4 | |||
| 1 | 2008-03-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 5 | 2008-03-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 2 | 6 | ||
| 3 | * term/mac-win.el (mac-ae-reopen-application): New function. | 7 | * term/mac-win.el (mac-ae-reopen-application): New function. |
| @@ -17,8 +21,8 @@ | |||
| 17 | 21 | ||
| 18 | 2008-03-23 Andreas Schwab <schwab@suse.de> | 22 | 2008-03-23 Andreas Schwab <schwab@suse.de> |
| 19 | 23 | ||
| 20 | * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]: Fix | 24 | * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]: |
| 21 | radio button condition. | 25 | Fix radio button condition. |
| 22 | [box]: Likewise. | 26 | [box]: Likewise. |
| 23 | [customize]: Add radio button. | 27 | [customize]: Add radio button. |
| 24 | 28 | ||
| @@ -30,8 +34,8 @@ | |||
| 30 | 34 | ||
| 31 | 2008-03-19 Wilson Snyder <wsnyder@wsnyder.org> | 35 | 2008-03-19 Wilson Snyder <wsnyder@wsnyder.org> |
| 32 | 36 | ||
| 33 | * progmodes/verilog-mode.el (verilog-easy-menu-filter): New | 37 | * progmodes/verilog-mode.el (verilog-easy-menu-filter): |
| 34 | function. | 38 | New function. |
| 35 | (verilog-stmt-menu, verilog-menu): Add :help. | 39 | (verilog-stmt-menu, verilog-menu): Add :help. |
| 36 | (verilog-customize, verilog-font-customize) | 40 | (verilog-customize, verilog-font-customize) |
| 37 | (electric-verilog-backward-sexp, electric-verilog-forward-sexp) | 41 | (electric-verilog-backward-sexp, electric-verilog-forward-sexp) |
| @@ -39,8 +43,8 @@ | |||
| 39 | (verilog-auto-search-do, verilog-auto-re-search-do) | 43 | (verilog-auto-search-do, verilog-auto-re-search-do) |
| 40 | (verilog-skip-forward-comment-or-string): Fix verilog-auto | 44 | (verilog-skip-forward-comment-or-string): Fix verilog-auto |
| 41 | expansion when a .* appears inside a string. | 45 | expansion when a .* appears inside a string. |
| 42 | (verilog-re-search-forward, verilog-re-search-backward): Add | 46 | (verilog-re-search-forward, verilog-re-search-backward): |
| 43 | comment to recall how this works. | 47 | Add comment to recall how this works. |
| 44 | 48 | ||
| 45 | 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de> | 49 | 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de> |
| 46 | 50 | ||
diff --git a/lisp/vc.el b/lisp/vc.el index e221044b769..bf0f101d469 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -1047,9 +1047,14 @@ that is inserted into the command line before the filename." | |||
| 1047 | (when (and (not (eq t okstatus)) | 1047 | (when (and (not (eq t okstatus)) |
| 1048 | (or (not (integerp status)) | 1048 | (or (not (integerp status)) |
| 1049 | (and okstatus (< okstatus status)))) | 1049 | (and okstatus (< okstatus status)))) |
| 1050 | (pop-to-buffer (current-buffer)) | 1050 | ;; Don't show internal temp buffers. Especially since, together |
| 1051 | (goto-char (point-min)) | 1051 | ;; with with-temp-buffer and pop-up-frames, this can result in |
| 1052 | (shrink-window-if-larger-than-buffer) | 1052 | ;; bugs where with-temp-buffer ends up not preserving |
| 1053 | ;; current-buffer (because kill-buffer doesn't preserve it). | ||
| 1054 | (unless (eq ?\s (aref (buffer-name (current-buffer)) 0)) | ||
| 1055 | (pop-to-buffer (current-buffer)) | ||
| 1056 | (goto-char (point-min)) | ||
| 1057 | (shrink-window-if-larger-than-buffer)) | ||
| 1053 | (error "Running %s...FAILED (%s)" command | 1058 | (error "Running %s...FAILED (%s)" command |
| 1054 | (if (integerp status) (format "status %d" status) status)))) | 1059 | (if (integerp status) (format "status %d" status) status)))) |
| 1055 | (if vc-command-messages | 1060 | (if vc-command-messages |