branch: master commit 783cc3394f7e73ceb5b3a62662210c7cb953f232 Author: Syohei YOSHIDA <syo...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
Use cl-incf instead of cl * yasnippet.el (yas--snippet-next-id, yas--real-line-beginning): Use `cl-incf'. --- 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))