diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/vc-hooks.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index 9fce8a43d09..ea4fd6543f5 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el | |||
| @@ -929,11 +929,11 @@ control system name." | |||
| 929 | (this-buffer (current-buffer))) | 929 | (this-buffer (current-buffer))) |
| 930 | (if (eq true-buffer this-buffer) | 930 | (if (eq true-buffer this-buffer) |
| 931 | (progn | 931 | (progn |
| 932 | (kill-buffer this-buffer) | ||
| 932 | ;; In principle, we could do something like set-visited-file-name. | 933 | ;; In principle, we could do something like set-visited-file-name. |
| 933 | ;; However, it can't be exactly the same as set-visited-file-name. | 934 | ;; However, it can't be exactly the same as set-visited-file-name. |
| 934 | ;; I'm not going to work out the details right now. -- rms. | 935 | ;; I'm not going to work out the details right now. -- rms. |
| 935 | (set-buffer (find-file-noselect truename)) | 936 | (set-buffer (find-file-noselect truename))) |
| 936 | (kill-buffer this-buffer)) | ||
| 937 | (set-buffer true-buffer) | 937 | (set-buffer true-buffer) |
| 938 | (kill-buffer this-buffer)))) | 938 | (kill-buffer this-buffer)))) |
| 939 | 939 | ||