branch: master commit 08b044e559cc350c6e7142d088ec2d4a82e378cb Merge: 8e9bf3c 783cc33 Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
Merge pull request #519 from syohex/use-cl-macro --- yasnippet.el | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yasnippet.el b/yasnippet.el index bddfa3a..65d8e7c 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -559,7 +559,7 @@ snippet itself contains a condition that returns the symbol (defun yas--snippet-next-id () (let ((id yas--snippet-id-seed)) - (incf yas--snippet-id-seed) + (cl-incf yas--snippet-id-seed) id)) @@ -3953,7 +3953,7 @@ Meant to be called in a narrowed buffer, does various passes" (n (line-beginning-position))) (while (or (eql c ?\ ) (eql c ?\t)) - (incf n) + (cl-incf n) (setq c (char-after n))) n))