mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Fix yas--message for the case message contains %
This commit is contained in:
parent
618cf506ee
commit
2e118646f0
@ -4391,7 +4391,7 @@ Remaining args as in `yas-expand-snippet'."
|
|||||||
(defun yas--message (level message &rest args)
|
(defun yas--message (level message &rest args)
|
||||||
"When LEVEL is above `yas-verbosity-level', log MESSAGE and ARGS."
|
"When LEVEL is above `yas-verbosity-level', log MESSAGE and ARGS."
|
||||||
(when (> yas-verbosity level)
|
(when (> yas-verbosity level)
|
||||||
(message (apply #'yas--format message args))))
|
(message "%s" (apply #'yas--format message args))))
|
||||||
|
|
||||||
(defun yas--format (format-control &rest format-args)
|
(defun yas--format (format-control &rest format-args)
|
||||||
(apply #'format (concat "[yas] " format-control) format-args))
|
(apply #'format (concat "[yas] " format-control) format-args))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user