From 19134c18f4df3deee1aad2f7659aa9ca582d1104 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sat, 7 May 1994 01:22:50 +0000 Subject: [PATCH] (shell-forward-command, shell-backward-command): Fix regexp. --- lisp/shell.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ";&|"))))) -- 2.39.5