Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a8e0effb
Commit
a8e0effb
authored
Sep 03, 1994
by
Richard M. Stallman
Browse files
(shell-command-regexp): Use a simpler faster regexp.
parent
1174421c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
lisp/shell.el
lisp/shell.el
+3
-4
No files found.
lisp/shell.el
View file @
a8e0effb
...
...
@@ -182,10 +182,9 @@ shell buffer.
This is a fine thing to set in your `.emacs' file."
)
(
defvar
shell-command-regexp
"\\((.*)\\|[^;&|]\\)+"
"*Regexp to match shell commands.
Elements of pipes are considered as separate commands, forks and redirections
as part of one command."
)
(
defvar
shell-command-regexp
"[^;&|\n]+"
"*Regexp to match a single command within a pipeline.
This is used for directory tracking and does not do a perfect job."
)
(
defvar
shell-completion-execonly
t
"*If non-nil, use executable files only for completion candidates.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment