From f12ad4ea469aa95a4f8a5c42a1899b375fa405b6 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Fri, 9 Mar 2018 08:28:35 +0100 Subject: Update php-project.el and yasnippet.el --- .emacs.d/lisp/yasnippet.el | 3 +++ 1 file changed, 3 insertions(+) (limited to '.emacs.d/lisp/yasnippet.el') diff --git a/.emacs.d/lisp/yasnippet.el b/.emacs.d/lisp/yasnippet.el index 1f92adc..5f17465 100644 --- a/.emacs.d/lisp/yasnippet.el +++ b/.emacs.d/lisp/yasnippet.el @@ -4306,6 +4306,9 @@ The SNIPPET's markers are preserved." (forward-line 1) (let ((indent-line-function (lambda () + ;; We need to be at beginning of line in order to + ;; indent existing whitespace correctly. + (beginning-of-line) (indent-to-column yas--indent-original-column)))) (yas--indent-region (line-beginning-position) (point-max) -- cgit v1.3