[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")))))
- [elpa] master updated (f06d730 -> 299efcb), Noam Postavsky, 2016/10/26
- [elpa] master bc80f67 01/40: .travis.yml: Don't notify on success, Noam Postavsky, 2016/10/26
- [elpa] master 6b785e1 08/40: Say how to hide the backquote side-effect warning,
Noam Postavsky <=
- [elpa] master 1735a28 02/40: Add region contents to new snippet, Noam Postavsky, 2016/10/26
- [elpa] master ee4efdb 05/40: Revert "Separate parsing from evaluation of backquote lisp", Noam Postavsky, 2016/10/26
- [elpa] master 85f39ce 06/40: Warn about backquote exprs modifying the buffer, Noam Postavsky, 2016/10/26
- [elpa] master e21420a 04/40: Separate parsing from evaluation of backquote lisp, Noam Postavsky, 2016/10/26
- [elpa] master c744148 03/40: Make yas-describe-tables easier to use from lisp, Noam Postavsky, 2016/10/26
- [elpa] master d218ed8 11/40: Do indent the first line of mirrors, but in correct order, Noam Postavsky, 2016/10/26
- [elpa] master 0db65ee 20/40: Don't clobber match data in modification hooks, Noam Postavsky, 2016/10/26
- [elpa] master dc098cf 25/40: Fix yas--message verbosity levels, Noam Postavsky, 2016/10/26
- [elpa] master 5af9276 27/40: Support yas/ symbols in yas-define-menu, Noam Postavsky, 2016/10/26
- [elpa] master ea9581f 22/40: Fix some quoting problems in doc strings, Noam Postavsky, 2016/10/26