]> git.eshelyaron.com Git - emacs.git/commit
Update gnus-draft-check-draft-articles to use find-buffer-visiting
authorEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 10 May 2024 19:38:57 +0000 (12:38 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sun, 12 May 2024 15:48:47 +0000 (17:48 +0200)
commita1e89e383539db9c4f89d711ac5b80e6ecdb3562
tree41fba78fe5f62c71b0cb563e24aac8da01f9c0df
parent38317d9007f9663f749a1b0377dac10448d59bb8
Update gnus-draft-check-draft-articles to use find-buffer-visiting

* lisp/gnus/gnus-draft.el (gnus-draft-check-draft-articles): Don't loop
through all the buffers; this removes the need for the `file-remote-p'
check. Also give the user some nicer feedback about what's going on.

(cherry picked from commit 41bfca00051b590c24fca9e8614b67724fab272d)
lisp/gnus/gnus-draft.el