emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 783cc33 148/177: Use cl-incf instead of cl


From: João Távora
Subject: [elpa] master 783cc33 148/177: Use cl-incf instead of cl
Date: Sat, 28 Mar 2015 15:41:33 +0000

branch: master
commit 783cc3394f7e73ceb5b3a62662210c7cb953f232
Author: Syohei YOSHIDA <address@hidden>
Commit: João Távora <address@hidden>

    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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]