mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-13 16:38:14 +00:00
(mh-folder-exists-p): Change test from an empty buffer, to one that
contains the actual folder, since GNU mailutils' folder command displays output if the folder doesn't exist (closes SF #1499712).
This commit is contained in:
parent
2e17852c46
commit
c1def6ea27
@ -1524,7 +1524,7 @@ construct the base name."
|
||||
(with-temp-buffer
|
||||
(mh-exec-cmd-output "folder" nil "-fast" "-nocreate" folder)
|
||||
(goto-char (point-min))
|
||||
(not (eobp))))))
|
||||
(looking-at (format "+?%s" folder))))))
|
||||
|
||||
(defun mh-msg-exists-p (msg folder)
|
||||
"Check if MSG exists in FOLDER."
|
||||
|
Loading…
Reference in New Issue
Block a user