aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorMiles Bader2006-09-05 02:54:22 +0000
committerMiles Bader2006-09-05 02:54:22 +0000
commitaf6ea8ad8d62810d901561ae4a56d89f22ebacf0 (patch)
tree02ee24f2f69b71a0690c99a5b007becf76077f74 /lisp/shell.el
parent76e590a3f4d983dbbbf9e1a1bbd7753e251c64a6 (diff)
parent750a6cf4b21da81c1b451b8f4dc898127954c133 (diff)
downloademacs-af6ea8ad8d62810d901561ae4a56d89f22ebacf0.tar.gz
emacs-af6ea8ad8d62810d901561ae4a56d89f22ebacf0.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 414-422) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 128-130) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-108
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index 6a145ae1569..d4791821b5b 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -483,7 +483,9 @@ This function can be put on `comint-output-filter-functions'.
483The argument STRING is ignored." 483The argument STRING is ignored."
484 (let ((pmark (process-mark (get-buffer-process (current-buffer))))) 484 (let ((pmark (process-mark (get-buffer-process (current-buffer)))))
485 (save-excursion 485 (save-excursion
486 (goto-char (or comint-last-output-start (point-min))) 486 (goto-char (or (and (markerp comint-last-output-start)
487 (marker-position comint-last-output-start))
488 (point-min)))
487 (while (re-search-forward "[\C-a\C-b]" pmark t) 489 (while (re-search-forward "[\C-a\C-b]" pmark t)
488 (replace-match ""))))) 490 (replace-match "")))))
489 491