summaryrefslogtreecommitdiff
path: root/lisp/gnus/nndraft.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2020-04-15 07:50:15 -0700
committerGlenn Morris <rgm@gnu.org>2020-04-15 07:50:15 -0700
commit97e48510ad4fec9ca5f576a750018a231523f7a6 (patch)
tree06f50ebc5da12038bc4851b44946462a498ac755 /lisp/gnus/nndraft.el
parentafa542c914379538f986f1428f176ffe42f62609 (diff)
parenta5f7c269075180e4531f0a784201a09b49731a27 (diff)
downloademacs-97e48510ad4fec9ca5f576a750018a231523f7a6.tar.gz
emacs-97e48510ad4fec9ca5f576a750018a231523f7a6.tar.bz2
emacs-97e48510ad4fec9ca5f576a750018a231523f7a6.zip
Merge from origin/emacs-27
a5f7c26907 (origin/emacs-27) * admin/authors.el: Add an author alias. d87a4d1f4e Limit RLIMIT_NOFILE to FD_SETSIZE on macOS e5ca8e5e73 Fix Elisp manual entry on 'set-window-configuration' 485f24223f ; Update ChangeLog.3 8f200254fb ; Update etc/AUTHORS c7adc851ad * admin/authors.el: Add missing author aliases. 4acdd7fe58 Fix edge case errors in filename-matching regexps 5f36e21fe5 Clarify the doc string of 'yank' 13301d4266 New function erc-track-switch-buffer-other-window 38f7538d8f New function erc-switch-to-buffer-other-window # Conflicts: # etc/NEWS
Diffstat (limited to 'lisp/gnus/nndraft.el')
-rw-r--r--lisp/gnus/nndraft.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/nndraft.el b/lisp/gnus/nndraft.el
index e5dda990d6b..a3c26ea4ac0 100644
--- a/lisp/gnus/nndraft.el
+++ b/lisp/gnus/nndraft.el
@@ -219,7 +219,7 @@ are generated if and only if they are also in `message-draft-headers'."
(nnheader-re-read-dir pathname)
(setq dir (mapcar (lambda (name) (string-to-number (substring name 1)))
(ignore-errors (directory-files
- pathname nil "^#[0-9]+#$" t))))
+ pathname nil "\\`#[0-9]+#\\'" t))))
(dolist (n dir)
(unless (file-exists-p
(setq file (expand-file-name (int-to-string n) pathname)))