(cookie-snarf): Pass proper format string to message.
This commit is contained in:
parent
b7acde90f3
commit
4120f5f5d2
1 changed files with 2 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ and subsequent calls on the same file won't go to disk."
|
|||
(if sym
|
||||
(symbol-value sym)
|
||||
(setq sym (intern phrase-file cookie-cache))
|
||||
(message startmsg)
|
||||
(message "%s" startmsg)
|
||||
(save-excursion
|
||||
(let ((buf (generate-new-buffer "*cookie*"))
|
||||
(result nil))
|
||||
|
|
@ -118,7 +118,7 @@ and subsequent calls on the same file won't go to disk."
|
|||
(setq result (cons (buffer-substring beg (1- (point)))
|
||||
result))))
|
||||
(kill-buffer buf)
|
||||
(message endmsg)
|
||||
(message "%s" endmsg)
|
||||
(set sym (apply 'vector result)))))))
|
||||
|
||||
(defun read-cookie (prompt phrase-file startmsg endmsg &optional require-match)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue