aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)