From: Karl Heuer Date: Sat, 7 May 1994 01:22:50 +0000 (+0000) Subject: (shell-forward-command, shell-backward-command): Fix regexp. X-Git-Tag: emacs-19.34~8476 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=19134c18f4df3deee1aad2f7659aa9ca582d1104;p=emacs.git (shell-forward-command, shell-backward-command): Fix regexp. --- diff --git a/lisp/shell.el b/lisp/shell.el index 33d84a181a9..c7beee72b99 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -638,7 +638,7 @@ command again." See `shell-command-regexp'." (interactive "p") (let ((limit (save-excursion (end-of-line nil) (point)))) - (if (re-search-forward (concat shell-command-regexp "\\([;&|][\\s ]*\\)+") + (if (re-search-forward (concat shell-command-regexp "\\([;&|][\t ]*\\)+") limit 'move arg) (skip-syntax-backward " ")))) @@ -652,7 +652,7 @@ See `shell-command-regexp'." (save-excursion (beginning-of-line) (setq limit (point)))) (skip-syntax-backward " " limit) (if (re-search-backward - (format "[;&|]+[\\s ]*\\(%s\\)" shell-command-regexp) limit 'move arg) + (format "[;&|]+[\t ]*\\(%s\\)" shell-command-regexp) limit 'move arg) (progn (goto-char (match-beginning 1)) (skip-chars-forward ";&|")))))