# HG changeset patch # User Karl Heuer # Date 768273770 0 # Node ID 027616e7b1e4e295ca0a058ef482d92b2bc8bb65 # Parent 53c6cc0ccd30150440b419871b6d8e2b8f46ea13 (shell-forward-command, shell-backward-command): Fix regexp. diff -r 53c6cc0ccd30 -r 027616e7b1e4 lisp/shell.el --- a/lisp/shell.el Sat May 07 01:22:38 1994 +0000 +++ b/lisp/shell.el Sat May 07 01:22:50 1994 +0000 @@ -638,7 +638,7 @@ 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 @@ (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 ";&|")))))