diff options
author | Joost Kremers <joost@IdeaPad> | 2015-09-28 11:24:02 +0200 |
---|---|---|
committer | Joost Kremers <joost@IdeaPad> | 2015-09-28 11:24:02 +0200 |
commit | 4d61316a98671873f58c2ff07c17e91a94dfd60b (patch) | |
tree | d7b6035421e68f4d16ab60be5388f0785e0b099d /ebib-keywords.el | |
parent | 7b91edcf756a6dca921b2a443006fa0606d3bb5b (diff) |
Fix `y-or-n-p` prompt strings.
Diffstat (limited to 'ebib-keywords.el')
-rw-r--r-- | ebib-keywords.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ebib-keywords.el b/ebib-keywords.el index 6e587db..80b3bfa 100644 --- a/ebib-keywords.el +++ b/ebib-keywords.el @@ -198,7 +198,7 @@ keywords and the third the keywords added in this session." (when (and (cl-third lst) ; if there are new keywords (or (eq ebib-keywords-file-save-on-exit 'always) (and (eq ebib-keywords-file-save-on-exit 'ask) - (y-or-n-p "New keywords have been added. Save? ")))) + (y-or-n-p "New keywords have been added. Save? ")))) (ebib--keywords-save-to-file lst) ;; now move the new keywords to the list of existing keywords (setf (cl-second lst) (append (cl-second lst) (cl-third lst))) @@ -233,7 +233,7 @@ Optional argument DB specifies the database to check for." (or (eq ebib-keywords-file-save-on-exit 'always) (called-interactively-p 'any) (and (eq ebib-keywords-file-save-on-exit 'ask) - (y-or-n-p (format "New keywords were added. Save '%s'? " + (y-or-n-p (format "New keywords were added. Save '%s'? " (file-name-nondirectory ebib-keywords-file)))))) ; strip path for succinctness (mapc (lambda (elt) (ebib--keywords-save-to-file elt)) |