summaryrefslogtreecommitdiff
path: root/lisp/org/org-eshell.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org/org-eshell.el')
-rw-r--r--lisp/org/org-eshell.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org/org-eshell.el b/lisp/org/org-eshell.el
index bb27d92e12d..2251a1b892f 100644
--- a/lisp/org/org-eshell.el
+++ b/lisp/org/org-eshell.el
@@ -37,7 +37,7 @@
eshell buffer) or a command line prefixed by a buffer name
followed by a colon."
(let* ((buffer-and-command
- (if (string-match "\\([A-Za-z0-9-+*]+\\):\\(.*\\)" link)
+ (if (string-match "\\([A-Za-z0-9+*-]+\\):\\(.*\\)" link)
(list (match-string 1 link)
(match-string 2 link))
(list eshell-buffer-name link)))