emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 6b785e1 08/40: Say how to hide the backquote side-effect w


From: Noam Postavsky
Subject: [elpa] master 6b785e1 08/40: Say how to hide the backquote side-effect warning
Date: Wed, 26 Oct 2016 23:06:32 +0000 (UTC)

branch: master
commit 6b785e185f94fa768f04b6c4baea0b4bb575f9f1
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    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")))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]