From eabfcb9092b4ee31acc51357ee681d77f06213c4 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Mon, 25 May 2020 09:28:46 +0200 Subject: Update yasnippet --- .emacs.d/lisp/yasnippet.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.emacs.d/lisp') diff --git a/.emacs.d/lisp/yasnippet.el b/.emacs.d/lisp/yasnippet.el index ac25669..fe29fc9 100644 --- a/.emacs.d/lisp/yasnippet.el +++ b/.emacs.d/lisp/yasnippet.el @@ -4188,7 +4188,7 @@ Returns the newly created snippet." (yas--snippet-parse-create snippet)) (run-hook-with-args 'after-change-functions (point-min) (point-max) - (- (point-max) (point-min)))) + (- end begin))) (when (listp buffer-undo-list) (push (cons (point-min) (point-max)) buffer-undo-list)) -- cgit v1.3