diff options
| author | Miles Bader | 2006-06-07 18:05:10 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-06-07 18:05:10 +0000 |
| commit | b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb (patch) | |
| tree | de3804210a8cd955e0d3b9abc15679480930bc82 /lisp/vc.el | |
| parent | 885b7d0991bd4b4b8f4bd1d3cd21c18a697bbce2 (diff) | |
| parent | 26c9afc3239e18b03537faaea33e3e82e28099e6 (diff) | |
| download | emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.tar.gz emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.zip | |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 285-296)
- Update from CVS
- Merge from gnus--rel--5.10
- Update from CVS: admin/FOR-RELEASE: Update refcard section.
* gnus--rel--5.10 (patch 102-104)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-64
Diffstat (limited to 'lisp/vc.el')
| -rw-r--r-- | lisp/vc.el | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/vc.el b/lisp/vc.el index 61b8aa05a4b..54237800e3c 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -894,10 +894,12 @@ However, before executing BODY, find FILE, and after BODY, save buffer." | |||
| 894 | 894 | ||
| 895 | (defun vc-process-filter (p s) | 895 | (defun vc-process-filter (p s) |
| 896 | "An alternative output filter for async process P. | 896 | "An alternative output filter for async process P. |
| 897 | The only difference with the default filter is to insert S after markers." | 897 | One difference with the default filter is that this inserts S after markers. |
| 898 | Another is that undo information is not kept." | ||
| 898 | (with-current-buffer (process-buffer p) | 899 | (with-current-buffer (process-buffer p) |
| 899 | (save-excursion | 900 | (save-excursion |
| 900 | (let ((inhibit-read-only t)) | 901 | (let ((buffer-undo-list t) |
| 902 | (inhibit-read-only t)) | ||
| 901 | (goto-char (process-mark p)) | 903 | (goto-char (process-mark p)) |
| 902 | (insert s) | 904 | (insert s) |
| 903 | (set-marker (process-mark p) (point)))))) | 905 | (set-marker (process-mark p) (point)))))) |
| @@ -914,7 +916,8 @@ BUF defaults to \"*vc*\", can be a string and will be created if necessary." | |||
| 914 | (set (make-local-variable 'vc-parent-buffer-name) | 916 | (set (make-local-variable 'vc-parent-buffer-name) |
| 915 | (concat " from " (buffer-name camefrom))) | 917 | (concat " from " (buffer-name camefrom))) |
| 916 | (setq default-directory olddir) | 918 | (setq default-directory olddir) |
| 917 | (let ((inhibit-read-only t)) | 919 | (let ((buffer-undo-list t) |
| 920 | (inhibit-read-only t)) | ||
| 918 | (erase-buffer)))) | 921 | (erase-buffer)))) |
| 919 | 922 | ||
| 920 | (defun vc-exec-after (code) | 923 | (defun vc-exec-after (code) |
| @@ -1003,7 +1006,8 @@ that is inserted into the command line before the filename." | |||
| 1003 | (vc-exec-after | 1006 | (vc-exec-after |
| 1004 | `(unless (active-minibuffer-window) | 1007 | `(unless (active-minibuffer-window) |
| 1005 | (message "Running %s in the background... done" ',command)))) | 1008 | (message "Running %s in the background... done" ',command)))) |
| 1006 | (setq status (apply 'process-file command nil t nil squeezed)) | 1009 | (let ((buffer-undo-list t)) |
| 1010 | (setq status (apply 'process-file command nil t nil squeezed))) | ||
| 1007 | (when (and (not (eq t okstatus)) | 1011 | (when (and (not (eq t okstatus)) |
| 1008 | (or (not (integerp status)) | 1012 | (or (not (integerp status)) |
| 1009 | (and okstatus (< okstatus status)))) | 1013 | (and okstatus (< okstatus status)))) |