summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index f1931c7d92f..9a20ad41bae 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -5575,7 +5575,7 @@ change the additional actions you can take on files."
(regexp-quote
(file-name-nondirectory
buffer-file-name))
- "<[0-9]+>\\'")
+ "<[^>]*>\\'")
(buffer-name buffer)))
;; The buffer name is similar to the
;; file name.