branch: master
commit 7a178a2ca016ae205df4b6dc191fd42debc99c8d
Author: Noam Postavsky <[email protected]>
Commit: Noam Postavsky <[email protected]>
Remove spurious change of before-change-functions
Found by OGAWA Hirofumi in
<https://github.com/joaotavora/yasnippet/issues/953>.
* yasnippet.el (yas--save-backquotes): Don't remove first entry of
before-change-functions.
---
yasnippet.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/yasnippet.el b/yasnippet.el
index 46624ed..86f4b61 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -4505,8 +4505,7 @@ Lisp expression."
current-string '(?`))))))
(goto-char (match-beginning 0))
(when transformed
- (let ((marker (make-marker))
- (before-change-functions (cdr before-change-functions)))
+ (let ((marker (make-marker)))
(yas--save-restriction-and-widen
(insert "Y") ;; quite horrendous, I love it :)
(set-marker marker (point))