summaryrefslogtreecommitdiff
path: root/ebib-keywords.el
diff options
context:
space:
mode:
authorJoost Kremers <joost@IdeaPad>2015-09-28 11:24:02 +0200
committerJoost Kremers <joost@IdeaPad>2015-09-28 11:24:02 +0200
commit4d61316a98671873f58c2ff07c17e91a94dfd60b (patch)
treed7b6035421e68f4d16ab60be5388f0785e0b099d /ebib-keywords.el
parent7b91edcf756a6dca921b2a443006fa0606d3bb5b (diff)
Fix `y-or-n-p` prompt strings.
Diffstat (limited to 'ebib-keywords.el')
-rw-r--r--ebib-keywords.el4
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))