branch: master commit 6b785e185f94fa768f04b6c4baea0b4bb575f9f1 Author: Noam Postavsky <npost...@users.sourceforge.net> Commit: Noam Postavsky <npost...@users.sourceforge.net>
Say how to hide the backquote side-effect warning * yasnippet.el (yas--save-backquotes): Explain how to hide warning in the warning message. --- yasnippet.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index 406b514..1ee687a 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -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")))))