Fix prettify-symbols-mode with composition rules
* lisp/progmodes/prog-mode.el (prettify-symbols--composition-displayable-p): Fix a thinko. Patch by Visuwesh <visuweshm@gmail.com>. (Bug#77627)
This commit is contained in:
parent
d283db5773
commit
646ccd5e67
1 changed files with 2 additions and 2 deletions
|
@ -244,8 +244,8 @@ of `prettify-symbols-alist' and `compose-region'."
|
|||
;; check that every even-indexed element is displayable
|
||||
(seq-every-p
|
||||
(lambda (idx-elt)
|
||||
(if (evenp (car idx-elt))
|
||||
(char-displayable-on-frame-p (cdr idx-elt))
|
||||
(if (evenp (cdr idx-elt))
|
||||
(char-displayable-on-frame-p (car idx-elt))
|
||||
t))
|
||||
(seq-map-indexed #'cons composition)))
|
||||
(t
|
||||
|
|
Loading…
Add table
Reference in a new issue