1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(cookie-snarf): Pass proper format string to message.

This commit is contained in:
Karl Heuer 1996-01-25 00:51:58 +00:00
parent b7acde90f3
commit 4120f5f5d2

View File

@ -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)