mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
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.
This commit is contained in:
parent
1e71360868
commit
7a178a2ca0
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user