mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Merge pull request #519 from syohex/use-cl-macro
This commit is contained in:
commit
08b044e559
@ -559,7 +559,7 @@ snippet itself contains a condition that returns the symbol
|
|||||||
|
|
||||||
(defun yas--snippet-next-id ()
|
(defun yas--snippet-next-id ()
|
||||||
(let ((id yas--snippet-id-seed))
|
(let ((id yas--snippet-id-seed))
|
||||||
(incf yas--snippet-id-seed)
|
(cl-incf yas--snippet-id-seed)
|
||||||
id))
|
id))
|
||||||
|
|
||||||
|
|
||||||
@ -3953,7 +3953,7 @@ Meant to be called in a narrowed buffer, does various passes"
|
|||||||
(n (line-beginning-position)))
|
(n (line-beginning-position)))
|
||||||
(while (or (eql c ?\ )
|
(while (or (eql c ?\ )
|
||||||
(eql c ?\t))
|
(eql c ?\t))
|
||||||
(incf n)
|
(cl-incf n)
|
||||||
(setq c (char-after n)))
|
(setq c (char-after n)))
|
||||||
n))
|
n))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user