mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Say how to hide the backquote side-effect warning
* yasnippet.el (yas--save-backquotes): Explain how to hide warning in the warning message.
This commit is contained in:
parent
655bda804b
commit
6b785e185f
@ -4040,7 +4040,8 @@ with their evaluated value into `yas--backquote-markers-and-strings'."
|
||||
(push (cons marker transformed) yas--backquote-markers-and-strings)))))
|
||||
(when yas--change-detected
|
||||
(lwarn '(yasnippet backquote-change) :warning
|
||||
"`%s' modified buffer in a backquote expression."
|
||||
"`%s' modified buffer in a backquote expression.
|
||||
To hide this warning, add (yasnippet backquote-change) to `warning-suppress-types'."
|
||||
(if yas--current-template
|
||||
(yas--template-name yas--current-template)
|
||||
"Snippet")))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user