aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2021-01-24 05:43:02 +0200
committerXinglu Chen <public@yoctocell.xyz>2021-01-24 11:46:12 +0100
commit05c8fd3f7304ee8f816fd51f3ecc7421de37d4b4 (patch)
tree93ccefc56eb2440332cf214e87a8ae1a8d23e4ad
parent96ad95b656ccc5f0941c46b00e96af2dea312588 (diff)
Use uninterned symbol for local variable
* git-email.el (git-email--fontify-using-faces): Make local variable 'next' an uninterned symbol.
-rw-r--r--git-email.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-email.el b/git-email.el
index 82c6273..bc30731 100644
--- a/git-email.el
+++ b/git-email.el
@@ -212,7 +212,8 @@ If the header is not found, return an empty string."
(buffer-string)))
(defun git-email--fontify-using-faces (text)
- (let ((pos 0))
+ (let ((pos 0)
+ (next (gensym)))
(while (setq next (next-single-property-change pos 'face text))
(put-text-property pos next 'font-lock-face
(get-text-property pos 'face text) text)