Commit 59359905 authored by David Byers's avatar David Byers
Browse files

Checked format string argument in all calls to lyskom-message

parent 81710069
2000-01-10 David Byers <davby@ida.liu.se>
* flags.el (lyskom-read-options-eval): Add format argument to
lyskom-message to avoid possible problems with
error-in-options-short string.
* edit-text.el (lyskom-edit-send-check-recipients): Same here.
(kom-insert-last-info-nodename): Same here.
2000-01-06 David Byers <davby@ida.liu.se>
* lyskom-rest.el (j-or-n-p): Output the answer in the minibuffer
......
......@@ -816,7 +816,7 @@ Cannot be called from a callback."
(funcall kom-check-for-new-comments
buffer misc-list subject))
(t t)))
(lyskom-message (lyskom-format 'checking-comments))
(lyskom-message "%s" (lyskom-format 'checking-comments))
(save-excursion
(set-buffer lyskom-buffer)
(set-collector->value collector nil)
......@@ -848,7 +848,7 @@ Cannot be called from a callback."
(list "%s"
(lyskom-get-string
'please-check-commented-texts))))))))
(lyskom-message (lyskom-format 'checking-comments-done)))
(lyskom-message "%s" (lyskom-format 'checking-comments-done)))
;;
......@@ -876,7 +876,7 @@ Cannot be called from a callback."
(if (and (lyskom-default-value 'kom-check-commented-author-membership)
(assq 'comm-to (cdr misc-list)))
(progn
(lyskom-message (lyskom-get-string 'checking-rcpt))
(lyskom-message "%s" (lyskom-get-string 'checking-rcpt))
;;
;; For each commented text, get the author
......@@ -1094,7 +1094,7 @@ Cannot be called from a callback."
(file-name-nondirectory Info-current-file)
Info-current-node)))
(insert link))
(error (lyskom-message (lyskom-get-string 'cant-find-info-node)))))
(error (lyskom-message "%s" (lyskom-get-string 'cant-find-info-node)))))
;;; ================================================================
;;; Add recipient, copy-recipient - Addera mottagare
......
......@@ -254,7 +254,7 @@
(while (stringp (cdr (car (cdr pos))))
(setq pos (cdr pos)))
(setcdr pos nil))))))
(error (lyskom-message (lyskom-get-string 'error-in-options-short))))
(error (lyskom-message "%s" (lyskom-get-string 'error-in-options-short))))
(setq lyskom-options-done t))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment