Skip to content

Commit

Permalink
Clarify a comment in get-declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Hi-Angel committed Jan 23, 2023
1 parent b5cbab1 commit 307fabe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions color-identifiers-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ SCAN-FN."
(goto-char next-change)
(let ((face-at-point (get-text-property (point) 'face)))
(when (or (and face-at-point (memq face-at-point identifier-faces))
;; If we fontified it in the past, assume it should
;; continue to be fontified. This avoids alternating
;; between fontified and unfontified.
;; If we fontified X in the past, keep X in the list for
;; consistency. Otherwise `scan-identifiers' will stop
;; colorizing new Xes while older ones remain colorized.
(get-text-property (point) 'color-identifiers:fontified))
(puthash (substring-no-properties (symbol-name (symbol-at-point))) t result)))
(setq next-change (next-property-change (point))))))
Expand Down

0 comments on commit 307fabe

Please sign in to comment.