diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-07 22:10:01 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-07 22:10:06 +0200 |
commit | de4f347901adffd07bc9bff028dc073fb3c6df33 (patch) | |
tree | a7b6653904dde6260d8708e94877a9a4e6e9b3c1 /lisp/gnus/gnus-bookmark.el | |
parent | 151486931c82f6af38a912631c9cd41b677aae47 (diff) | |
download | emacs-de4f347901adffd07bc9bff028dc073fb3c6df33.tar.gz emacs-de4f347901adffd07bc9bff028dc073fb3c6df33.tar.bz2 emacs-de4f347901adffd07bc9bff028dc073fb3c6df33.zip |
Use format-prompt in read-file-name calls that have a default
* lisp/xwidget.el (xwidget-webkit-save-as-file):
* lisp/vc/vc.el (vc-backend-for-registration, vc-delete-file)
(vc-rename-file):
* lisp/vc/ediff-ptch.el (ediff-prompt-for-patch-file):
* lisp/vc/diff-mode.el (diff-tell-file-name):
* lisp/progmodes/etags.el (visit-tags-table)
(visit-tags-table-buffer):
* lisp/misearch.el (multi-isearch-read-files):
* lisp/mail/rmailmm.el (rmail-mime-save):
* lisp/help-fns.el (doc-file-to-man, doc-file-to-info):
* lisp/gnus/gnus-bookmark.el (gnus-bookmark-load):
* lisp/files.el (write-file, basic-save-buffer):
* lisp/dired.el (dired-read-dir-and-switches):
* lisp/bookmark.el (bookmark-save, bookmark-load):
* lisp/abbrev.el (write-abbrev-file, abbrev-edit-save-to-file):
Use format-prompt in read-file-name calls that have a default.
Diffstat (limited to 'lisp/gnus/gnus-bookmark.el')
-rw-r--r-- | lisp/gnus/gnus-bookmark.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-bookmark.el b/lisp/gnus/gnus-bookmark.el index 1b00bbbc69c..7e9684394ac 100644 --- a/lisp/gnus/gnus-bookmark.el +++ b/lisp/gnus/gnus-bookmark.el @@ -315,8 +315,7 @@ affect point." "Load Gnus bookmarks from FILE (which must be in bookmark format)." (interactive (list (read-file-name - (format "Load Gnus bookmarks from: (%s) " - gnus-bookmark-default-file) + (format-prompt "Load Gnus bookmarks from" gnus-bookmark-default-file) "~/" gnus-bookmark-default-file 'confirm))) (setq file (expand-file-name file)) (if (file-readable-p file) |