aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/calendar
diff options
context:
space:
mode:
authorPaul Eggert2015-08-05 19:06:57 -0700
committerPaul Eggert2015-08-05 19:07:28 -0700
commit0c856a2c459016f1f9cce173f5b2b49be36e3452 (patch)
treebbc837053a7255b7e392109fb5680abb8c4513b9 /lisp/calendar
parentec044fd2bfd6257742418d621685017325cb24cc (diff)
downloademacs-0c856a2c459016f1f9cce173f5b2b49be36e3452.tar.gz
emacs-0c856a2c459016f1f9cce173f5b2b49be36e3452.zip
Fix some confusion with ‘format’
* lisp/allout-widgets.el (allout-widgets-before-change-handler) (allout-graphics-modification-handler): Protect arbitrary string in a format context with "%s" format. * lisp/avoid.el: * lisp/cedet/semantic/bovine/scm.el: Fix comment. * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical): * lisp/erc/erc-button.el (erc-button-beats-to-time): * lisp/gnus/message.el (message-send-form-letter): * lisp/org/ob-core.el (org-babel-check-evaluate) (org-babel-confirm-evaluate): * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran): * lisp/org/ox-latex.el (org-latex-compile): * lisp/org/ox-man.el (org-man-compile): * lisp/org/ox-odt.el (org-odt-template): * lisp/org/ox-texinfo.el (org-texinfo-compile): * lisp/progmodes/prolog.el (prolog-help-info) (prolog-view-predspec): * lisp/progmodes/ruby-mode.el (ruby-parse-partial): * lisp/progmodes/verilog-mode.el (verilog-showscopes): * lisp/textmodes/rst.el (rst-replace-lines): Change (message (format ...)) to (message ...), and likewise for ‘error’. This lessens the probability of confusion when the output of ‘format’ contains ‘%’.
Diffstat (limited to 'lisp/calendar')
-rw-r--r--lisp/calendar/icalendar.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el
index 3e2a2f8a858..734462dd322 100644
--- a/lisp/calendar/icalendar.el
+++ b/lisp/calendar/icalendar.el
@@ -1629,8 +1629,8 @@ enumeration, given as a time value, in same format as returned by
1629 (icalendar--convert-ordinary-to-ical 1629 (icalendar--convert-ordinary-to-ical
1630 nonmarker (format "%4d/%02d/%02d %s" y m d see)))) 1630 nonmarker (format "%4d/%02d/%02d %s" y m d see))))
1631 (;TODO: 1631 (;TODO:
1632 (error (format "Unsupported Sexp-entry: %s" 1632 (error "Unsupported Sexp-entry: %s"
1633 entry-main)))))) 1633 entry-main)))))
1634 (number-sequence 1634 (number-sequence
1635 0 (- icalendar-export-sexp-enumeration-days 1)))))) 1635 0 (- icalendar-export-sexp-enumeration-days 1))))))
1636 (t 1636 (t