mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Merge pull request #355 from tkf/fix-yas--message
Fix yas--message for the case message contains %
This commit is contained in:
commit
700a68eb15
@ -4391,7 +4391,7 @@ Remaining args as in `yas-expand-snippet'."
|
||||
(defun yas--message (level message &rest args)
|
||||
"When LEVEL is above `yas-verbosity-level', log MESSAGE and ARGS."
|
||||
(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)
|
||||
(apply #'format (concat "[yas] " format-control) format-args))
|
||||
|
Loading…
x
Reference in New Issue
Block a user