aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2015-09-20 09:40:35 -0700
committerPaul Eggert2015-09-20 09:42:05 -0700
commitab11a1cf27ebe3791df45cccde3c851affd184dd (patch)
tree026e179d182fed09a07cb0a395fe7543feacb958
parent2ad2f8b084111e1479374fa38450de234242afaf (diff)
downloademacs-ab11a1cf27ebe3791df45cccde3c851affd184dd.tar.gz
emacs-ab11a1cf27ebe3791df45cccde3c851affd184dd.zip
Use %s to format strings instead of splicing them
If FOO might contain quotes that are part of a file or variable name, the quotes should not be translated when showing FOO’s name in a diagnostic. So, for example, (message (concat (FOO ": bar"))) is not quite right, as it would translate FOO’s quotes. Change it to (message "%s: bar" FOO) instead. * lisp/allout.el (allout-process-exposed): * lisp/calc/calc-ext.el (calc-do-prefix-help): * lisp/calc/calc-store.el (calc-store-into): * lisp/calendar/todo-mode.el (todo-category-completions): * lisp/cedet/semantic/complete.el (semantic-completion-message): * lisp/org/ob-latex.el (convert-pdf): * lisp/org/org-crypt.el (org-crypt-check-auto-save): * lisp/org/ox-latex.el (org-latex-compile): * lisp/org/ox-man.el (org-man-compile): * lisp/org/ox-odt.el (org-odt--export-wrap): * lisp/org/ox-texinfo.el (org-texinfo-compile): * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p): * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func) (verilog-signals-combine-bus, verilog-read-defines) (verilog-getopt-file, verilog-expand-dirnames) (verilog-modi-lookup, verilog-modi-modport-lookup-one): * lisp/term/ns-win.el (ns-spi-service-call): Use %s to avoid translating quotes of file names etc. in diagnostics.
-rw-r--r--lisp/allout.el5
-rw-r--r--lisp/calc/calc-ext.el5
-rw-r--r--lisp/calc/calc-store.el12
-rw-r--r--lisp/calendar/todo-mode.el5
-rw-r--r--lisp/cedet/semantic/complete.el2
-rw-r--r--lisp/org/ob-latex.el2
-rw-r--r--lisp/org/org-crypt.el7
-rw-r--r--lisp/org/ox-latex.el4
-rw-r--r--lisp/org/ox-man.el4
-rw-r--r--lisp/org/ox-odt.el4
-rw-r--r--lisp/org/ox-texinfo.el4
-rw-r--r--lisp/progmodes/ruby-mode.el3
-rw-r--r--lisp/progmodes/verilog-mode.el54
-rw-r--r--lisp/term/ns-win.el2
14 files changed, 58 insertions, 55 deletions
diff --git a/lisp/allout.el b/lisp/allout.el
index bbd69cd8347..5273fe2b433 100644
--- a/lisp/allout.el
+++ b/lisp/allout.el
@@ -5562,9 +5562,8 @@ Defaults:
5562 ;; Specified but not a buffer -- get it: 5562 ;; Specified but not a buffer -- get it:
5563 (let ((got (get-buffer frombuf))) 5563 (let ((got (get-buffer frombuf)))
5564 (if (not got) 5564 (if (not got)
5565 (error (concat "allout-process-exposed: source buffer " 5565 (error "allout-process-exposed: source buffer %s not found."
5566 frombuf 5566 frombuf)
5567 " not found."))
5568 (setq frombuf got)))) 5567 (setq frombuf got))))
5569 ;; not specified -- default it: 5568 ;; not specified -- default it:
5570 (setq frombuf (current-buffer))) 5569 (setq frombuf (current-buffer)))
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el
index 83722e761b0..933c446875e 100644
--- a/lisp/calc/calc-ext.el
+++ b/lisp/calc/calc-ext.el
@@ -1327,9 +1327,8 @@ calc-kill calc-kill-region calc-yank))))
1327 (setq calc-prefix-help-retry (= chr ??)) 1327 (setq calc-prefix-help-retry (= chr ??))
1328 (if bnd 1328 (if bnd
1329 (call-interactively bnd) 1329 (call-interactively bnd)
1330 (if key 1330 (message "%s is undefined"
1331 (message (concat (key-description (vector key chr)) " is undefined")) 1331 (key-description (if key (vector key chr) (vector chr))))))))
1332 (message (concat (key-description (vector chr)) " is undefined")))))))
1333 1332
1334;;;; Commands. 1333;;;; Commands.
1335 1334
diff --git a/lisp/calc/calc-store.el b/lisp/calc/calc-store.el
index 3d8c865c7bf..21209c66677 100644
--- a/lisp/calc/calc-store.el
+++ b/lisp/calc/calc-store.el
@@ -58,8 +58,8 @@
58 (let ((msg 58 (let ((msg
59 (calc-store-value var (or calc-given-value (calc-top 1)) 59 (calc-store-value var (or calc-given-value (calc-top 1))
60 "" calc-given-value-flag))) 60 "" calc-given-value-flag)))
61 (message (concat "Stored to variable \"%s\"" msg) 61 (message "Stored to variable \"%s\"%s"
62 (calc-var-name var))))) 62 (calc-var-name var) msg))))
63 (setq var (calc-is-assignments (calc-top 1))) 63 (setq var (calc-is-assignments (calc-top 1)))
64 (if var 64 (if var
65 (while var 65 (while var
@@ -67,8 +67,8 @@
67 (calc-store-value (car (car var)) (cdr (car var)) 67 (calc-store-value (car (car var)) (cdr (car var))
68 (if (not (cdr var)) "") 68 (if (not (cdr var)) "")
69 (if (not (cdr var)) 1)))) 69 (if (not (cdr var)) 1))))
70 (message (concat "Stored to variable \"%s\"" msg) 70 (message "Stored to variable \"%s\"%s"
71 (calc-var-name (car (car var))))) 71 (calc-var-name (car (car var))) msg))
72 (setq var (cdr var)))))))) 72 (setq var (cdr var))))))))
73 73
74(defun calc-store-plus (&optional var) 74(defun calc-store-plus (&optional var)
@@ -422,8 +422,8 @@
422 (calc-var-name var1))))) 422 (calc-var-name var1)))))
423 (if var2 423 (if var2
424 (let ((msg (calc-store-value var2 value ""))) 424 (let ((msg (calc-store-value var2 value "")))
425 (message (concat "Variable \"%s\" copied to \"%s\"" msg) 425 (message "Variable \"%s\" copied to \"%s\"%s"
426 (calc-var-name var1) (calc-var-name var2)))))))) 426 (calc-var-name var1) (calc-var-name var2) msg)))))))
427 427
428(defvar calc-last-edited-variable nil) 428(defvar calc-last-edited-variable nil)
429(defun calc-edit-variable (&optional var) 429(defun calc-edit-variable (&optional var)
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index 527548f78b6..27ca17b4e4f 100644
--- a/lisp/calendar/todo-mode.el
+++ b/lisp/calendar/todo-mode.el
@@ -5643,9 +5643,10 @@ have been removed."
5643 (when deleted 5643 (when deleted
5644 (let ((pl (> (length deleted) 1)) 5644 (let ((pl (> (length deleted) 1))
5645 (names (mapconcat (lambda (f) (concat "\"" f "\"")) deleted ", "))) 5645 (names (mapconcat (lambda (f) (concat "\"" f "\"")) deleted ", ")))
5646 (message (concat "File" (if pl "s" "") " " names " ha" (if pl "ve" "s") 5646 (message (concat "File" (if pl "s" "") " %s ha" (if pl "ve" "s")
5647 " been deleted and removed from\n" 5647 " been deleted and removed from\n"
5648 "the list of category completion files"))) 5648 "the list of category completion files")
5649 names))
5649 (todo-reevaluate-category-completions-files-defcustom) 5650 (todo-reevaluate-category-completions-files-defcustom)
5650 (custom-set-default 'todo-category-completions-files 5651 (custom-set-default 'todo-category-completions-files
5651 (symbol-value 'todo-category-completions-files)) 5652 (symbol-value 'todo-category-completions-files))
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el
index d32b2c4f001..9b7882c7acd 100644
--- a/lisp/cedet/semantic/complete.el
+++ b/lisp/cedet/semantic/complete.el
@@ -156,7 +156,7 @@ Presumably if you call this you will insert something new there."
156 "Display the string FMT formatted with ARGS at the end of the minibuffer." 156 "Display the string FMT formatted with ARGS at the end of the minibuffer."
157 (if semantic-complete-inline-overlay 157 (if semantic-complete-inline-overlay
158 (apply 'message fmt args) 158 (apply 'message fmt args)
159 (message (concat (buffer-string) (apply #'format-message fmt args))))) 159 (apply 'message (concat "%s" fmt) (buffer-string) args)))
160 160
161;;; ------------------------------------------------------------ 161;;; ------------------------------------------------------------
162;;; MINIBUFFER: Option Selection harnesses 162;;; MINIBUFFER: Option Selection harnesses
diff --git a/lisp/org/ob-latex.el b/lisp/org/ob-latex.el
index d0a413f1172..811c9ef92c6 100644
--- a/lisp/org/ob-latex.el
+++ b/lisp/org/ob-latex.el
@@ -183,7 +183,7 @@ This function is called by `org-babel-execute-src-block'."
183 "Generate a file from a pdf file using imagemagick." 183 "Generate a file from a pdf file using imagemagick."
184 (let ((cmd (concat "convert " im-in-options " " pdffile " " 184 (let ((cmd (concat "convert " im-in-options " " pdffile " "
185 im-out-options " " out-file))) 185 im-out-options " " out-file)))
186 (message (concat "Converting pdffile file " cmd "...")) 186 (message "Converting pdffile file %s..." cmd)
187 (shell-command cmd))) 187 (shell-command cmd)))
188 188
189(defun org-babel-latex-tex-to-pdf (file) 189(defun org-babel-latex-tex-to-pdf (file)
diff --git a/lisp/org/org-crypt.el b/lisp/org/org-crypt.el
index f527673cbd4..2b3445e47cd 100644
--- a/lisp/org/org-crypt.el
+++ b/lisp/org/org-crypt.el
@@ -133,9 +133,10 @@ See `org-crypt-disable-auto-save'."
133 (and 133 (and
134 (eq org-crypt-disable-auto-save 'ask) 134 (eq org-crypt-disable-auto-save 'ask)
135 (y-or-n-p "org-decrypt: auto-save-mode may cause leakage. Disable it for current buffer? "))) 135 (y-or-n-p "org-decrypt: auto-save-mode may cause leakage. Disable it for current buffer? ")))
136 (message (concat "org-decrypt: Disabling auto-save-mode for " (or (buffer-file-name) (current-buffer)))) 136 (message "org-decrypt: Disabling auto-save-mode for %s"
137 ; The argument to auto-save-mode has to be "-1", since 137 (or (buffer-file-name) (current-buffer)))
138 ; giving a "nil" argument toggles instead of disabling. 138 ;; The argument to auto-save-mode has to be "-1", since
139 ;; giving a "nil" argument toggles instead of disabling.
139 (auto-save-mode -1)) 140 (auto-save-mode -1))
140 ((eq org-crypt-disable-auto-save nil) 141 ((eq org-crypt-disable-auto-save nil)
141 (message "org-decrypt: Decrypting entry with auto-save-mode enabled. This may cause leakage.")) 142 (message "org-decrypt: Decrypting entry with auto-save-mode enabled. This may cause leakage."))
diff --git a/lisp/org/ox-latex.el b/lisp/org/ox-latex.el
index 91a864eee6e..51f7b17a8bf 100644
--- a/lisp/org/ox-latex.el
+++ b/lisp/org/ox-latex.el
@@ -2876,8 +2876,8 @@ Return PDF file name or an error if it couldn't be produced."
2876 ;; Check for process failure. Provide collected errors if 2876 ;; Check for process failure. Provide collected errors if
2877 ;; possible. 2877 ;; possible.
2878 (if (not (file-exists-p pdffile)) 2878 (if (not (file-exists-p pdffile))
2879 (error (concat (format "PDF file %s wasn't produced" pdffile) 2879 (error "PDF file %s wasn't produced%s" pdffile
2880 (when errors (concat ": " errors)))) 2880 (if errors (concat ": " errors) ""))
2881 ;; Else remove log files, when specified, and signal end of 2881 ;; Else remove log files, when specified, and signal end of
2882 ;; process to user, along with any error encountered. 2882 ;; process to user, along with any error encountered.
2883 (when (and (not snippet) org-latex-remove-logfiles) 2883 (when (and (not snippet) org-latex-remove-logfiles)
diff --git a/lisp/org/ox-man.el b/lisp/org/ox-man.el
index d7adcd5486d..09ad1866c0e 100644
--- a/lisp/org/ox-man.el
+++ b/lisp/org/ox-man.el
@@ -1219,8 +1219,8 @@ Return PDF file name or an error if it couldn't be produced."
1219 ;; Check for process failure. Provide collected errors if 1219 ;; Check for process failure. Provide collected errors if
1220 ;; possible. 1220 ;; possible.
1221 (if (not (file-exists-p pdffile)) 1221 (if (not (file-exists-p pdffile))
1222 (error (concat (format "PDF file %s wasn't produced" pdffile) 1222 (error "PDF file %s wasn't produced%s" pdffile
1223 (when errors (concat ": " errors)))) 1223 (if errors (concat ": " errors) ""))
1224 ;; Else remove log files, when specified, and signal end of 1224 ;; Else remove log files, when specified, and signal end of
1225 ;; process to user, along with any error encountered. 1225 ;; process to user, along with any error encountered.
1226 (when org-man-remove-logfiles 1226 (when org-man-remove-logfiles
diff --git a/lisp/org/ox-odt.el b/lisp/org/ox-odt.el
index 1ee201ba23f..9abda33f59d 100644
--- a/lisp/org/ox-odt.el
+++ b/lisp/org/ox-odt.el
@@ -4089,8 +4089,8 @@ contextual information."
4089 nil standard-output nil (cdr cmd))))) 4089 nil standard-output nil (cdr cmd)))))
4090 (or (zerop exitcode) 4090 (or (zerop exitcode)
4091 (error (concat "Unable to create OpenDocument file." 4091 (error (concat "Unable to create OpenDocument file."
4092 (format " Zip failed with error (%s)" 4092 " Zip failed with error (%s)")
4093 err-string))))) 4093 err-string)))
4094 cmds))) 4094 cmds)))
4095 ;; Move the zip file from temporary work directory to 4095 ;; Move the zip file from temporary work directory to
4096 ;; user-mandated location. 4096 ;; user-mandated location.
diff --git a/lisp/org/ox-texinfo.el b/lisp/org/ox-texinfo.el
index 5130329d4b4..67daf6f979e 100644
--- a/lisp/org/ox-texinfo.el
+++ b/lisp/org/ox-texinfo.el
@@ -1534,8 +1534,8 @@ Return INFO file name or an error if it couldn't be produced."
1534 ;; Check for process failure. Provide collected errors if 1534 ;; Check for process failure. Provide collected errors if
1535 ;; possible. 1535 ;; possible.
1536 (if (not (file-exists-p infofile)) 1536 (if (not (file-exists-p infofile))
1537 (error (concat (format "INFO file %s wasn't produced" infofile) 1537 (error "INFO file %s wasn't produced%s" infofile
1538 (when errors (concat ": " errors)))) 1538 (if errors (concat ": " errors) ""))
1539 ;; Else remove log files, when specified, and signal end of 1539 ;; Else remove log files, when specified, and signal end of
1540 ;; process to user, along with any error encountered. 1540 ;; process to user, along with any error encountered.
1541 (when org-texinfo-remove-logfiles 1541 (when org-texinfo-remove-logfiles
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index a5efb934a22..09338860c75 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2007,7 +2007,8 @@ It will be properly highlighted even when the call omits parens.")
2007 (t 2007 (t
2008 (error (concat 2008 (error (concat
2009 "Internal error on `ruby-in-ppss-context-p': " 2009 "Internal error on `ruby-in-ppss-context-p': "
2010 "context name `" (symbol-name context) "' is unknown")))) 2010 "context name `%s' is unknown")
2011 context)))
2011 t))) 2012 t)))
2012 2013
2013(defvar ruby-font-lock-syntax-table 2014(defvar ruby-font-lock-syntax-table
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el
index 85733e16190..489094b2e4f 100644
--- a/lisp/progmodes/verilog-mode.el
+++ b/lisp/progmodes/verilog-mode.el
@@ -5301,8 +5301,8 @@ Save the result unless optional NO-SAVE is t."
5301 (save-excursion 5301 (save-excursion
5302 (if (not (file-exists-p (buffer-file-name buf))) 5302 (if (not (file-exists-p (buffer-file-name buf)))
5303 (error 5303 (error
5304 (concat "File not found: " (buffer-file-name buf)))) 5304 "File not found: %s" (buffer-file-name buf)))
5305 (message (concat "Processing " (buffer-file-name buf))) 5305 (message "Processing %s" (buffer-file-name buf))
5306 (set-buffer buf) 5306 (set-buffer buf)
5307 (funcall funref) 5307 (funcall funref)
5308 (when (and (not no-save) 5308 (when (and (not no-save)
@@ -8074,9 +8074,9 @@ Duplicate signals are also removed. For example A[2] and A[1] become A[2:1]."
8074 (when (and sv-busstring 8074 (when (and sv-busstring
8075 (not (equal sv-busstring (verilog-sig-bits sig)))) 8075 (not (equal sv-busstring (verilog-sig-bits sig))))
8076 (when nil ; Debugging 8076 (when nil ; Debugging
8077 (message (concat "Warning, can't merge into single bus " 8077 (message (concat "Warning, can't merge into single bus %s%s"
8078 sv-name bus 8078 ", the AUTOs may be wrong")
8079 ", the AUTOs may be wrong"))) 8079 sv-name bus))
8080 (setq buswarn ", Couldn't Merge")) 8080 (setq buswarn ", Couldn't Merge"))
8081 (if (verilog-sig-comment sig) (setq combo ", ...")) 8081 (if (verilog-sig-comment sig) (setq combo ", ..."))
8082 (setq sv-memory (or sv-memory (verilog-sig-memory sig)) 8082 (setq sv-memory (or sv-memory (verilog-sig-memory sig))
@@ -9325,8 +9325,8 @@ warning message, you need to add to your init file:
9325 (let ((fns (verilog-library-filenames filename (buffer-file-name)))) 9325 (let ((fns (verilog-library-filenames filename (buffer-file-name))))
9326 (if fns 9326 (if fns
9327 (set-buffer (find-file-noselect (car fns))) 9327 (set-buffer (find-file-noselect (car fns)))
9328 (error (concat (verilog-point-text) 9328 (error "%s: Can't find verilog-read-defines file: %s"
9329 ": Can't find verilog-read-defines file: " filename))))) 9329 (verilog-point-text) filename))))
9330 (when recurse 9330 (when recurse
9331 (goto-char (point-min)) 9331 (goto-char (point-min))
9332 (while (re-search-forward "^\\s-*`include\\s-+\\([^ \t\n\f]+\\)" nil t) 9332 (while (re-search-forward "^\\s-*`include\\s-+\\([^ \t\n\f]+\\)" nil t)
@@ -9507,8 +9507,8 @@ Some macros and such are also found and included. For dinotrace.el."
9507 line) 9507 line)
9508 (if fns 9508 (if fns
9509 (set-buffer (find-file-noselect (car fns))) 9509 (set-buffer (find-file-noselect (car fns)))
9510 (error (concat (verilog-point-text) 9510 (error "%s: Can't find verilog-getopt-file -f file: %s"
9511 ": Can't find verilog-getopt-file -f file: " filename))) 9511 (verilog-point-text) filename))
9512 (goto-char (point-min)) 9512 (goto-char (point-min))
9513 (while (not (eobp)) 9513 (while (not (eobp))
9514 (setq line (buffer-substring (point) (point-at-eol))) 9514 (setq line (buffer-substring (point) (point-at-eol)))
@@ -9710,7 +9710,8 @@ Or, just the existing dirnames themselves if there are no wildcards."
9710 ;; Note this function is performance critical. 9710 ;; Note this function is performance critical.
9711 ;; Do not call anything that requires disk access that cannot be cached. 9711 ;; Do not call anything that requires disk access that cannot be cached.
9712 (interactive) 9712 (interactive)
9713 (unless dirnames (error "`verilog-library-directories' should include at least '.'")) 9713 (unless dirnames
9714 (error "`verilog-library-directories' should include at least `.'"))
9714 (setq dirnames (reverse dirnames)) ; not nreverse 9715 (setq dirnames (reverse dirnames)) ; not nreverse
9715 (let ((dirlist nil) 9716 (let ((dirlist nil)
9716 pattern dirfile dirfiles dirname root filename rest basefile) 9717 pattern dirfile dirfiles dirname root filename rest basefile)
@@ -9889,17 +9890,18 @@ Return modi if successful, else print message unless IGNORE-ERROR is true."
9889 (if (not (setq mif (verilog-module-inside-filename-p realname (car filenames)))) 9890 (if (not (setq mif (verilog-module-inside-filename-p realname (car filenames))))
9890 (setq filenames (cdr filenames)))) 9891 (setq filenames (cdr filenames))))
9891 ;; mif has correct form to become later elements of modi 9892 ;; mif has correct form to become later elements of modi
9892 (cond (mif (setq modi mif)) 9893 (setq modi mif)
9893 (t (setq modi nil) 9894 (or mif ignore-error
9894 (or ignore-error 9895 (error
9895 (error (concat (verilog-point-text) 9896 (concat
9896 ": Can't locate " module " module definition" 9897 "%s: Can't locate %s module definition%s"
9897 (if (not (equal module realname)) 9898 "\n Check the verilog-library-directories variable."
9898 (concat " (Expanded macro to " realname ")") 9899 "\n I looked in (if not listed, doesn't exist):\n\t%s")
9899 "") 9900 (verilog-point-text) module
9900 "\n Check the verilog-library-directories variable." 9901 (if (not (equal module realname))
9901 "\n I looked in (if not listed, doesn't exist):\n\t" 9902 (concat " (Expanded macro to " realname ")")
9902 (mapconcat 'concat orig-filenames "\n\t")))))) 9903 "")
9904 (mapconcat 'concat orig-filenames "\n\t")))
9903 (when (eval-when-compile (fboundp 'make-hash-table)) 9905 (when (eval-when-compile (fboundp 'make-hash-table))
9904 (unless verilog-modi-lookup-cache 9906 (unless verilog-modi-lookup-cache
9905 (setq verilog-modi-lookup-cache 9907 (setq verilog-modi-lookup-cache
@@ -10001,11 +10003,11 @@ Report errors unless optional IGNORE-ERROR."
10001 (let* ((realname (verilog-symbol-detick name t)) 10003 (let* ((realname (verilog-symbol-detick name t))
10002 (modport (assoc name (verilog-decls-get-modports (verilog-modi-get-decls modi))))) 10004 (modport (assoc name (verilog-decls-get-modports (verilog-modi-get-decls modi)))))
10003 (or modport ignore-error 10005 (or modport ignore-error
10004 (error (concat (verilog-point-text) 10006 (error "%s: Can't locate %s modport definition%s"
10005 ": Can't locate " name " modport definition" 10007 (verilog-point-text) name
10006 (if (not (equal name realname)) 10008 (if (not (equal name realname))
10007 (concat " (Expanded macro to " realname ")") 10009 (concat " (Expanded macro to " realname ")")
10008 "")))) 10010 "")))
10009 (let* ((decls (verilog-modport-decls modport)) 10011 (let* ((decls (verilog-modport-decls modport))
10010 (clks (verilog-modport-clockings modport))) 10012 (clks (verilog-modport-clockings modport)))
10011 ;; Now expand any clocking's 10013 ;; Now expand any clocking's
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index a21c105fb98..373f81238a2 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -243,7 +243,7 @@ The properties returned may include `top', `left', `height', and `width'."
243 (insert ns-input-spi-arg)) 243 (insert ns-input-spi-arg))
244 ((string-equal ns-input-spi-name "mail-to") 244 ((string-equal ns-input-spi-name "mail-to")
245 (compose-mail ns-input-spi-arg)) 245 (compose-mail ns-input-spi-arg))
246 (t (error (concat "Service " ns-input-spi-name " not recognized"))))) 246 (t (error "Service %s not recognized" ns-input-spi-name))))
247 247
248 248
249;; Composed key sequence handling for Nextstep system input methods. 249;; Composed key sequence handling for Nextstep system input methods.