Releases: alphapapa/prism.el
Releases · alphapapa/prism.el
v0.3.3
Compatibility
- Depend on Emacs 27.1 or later. (This was actually needed since v0.3.2, but was overlooked then.)
Fixes
- Infinite loop in
prism-match
when a double-prefixed comment appears next to a non-comment, non-whitespace character. (#26. Thanks to Daniel Neal for reporting.) - Call
face-attribute
with itsinherit
argument specified asdefault
. (Fixes #22. Thanks to Bram Schoenmakers for reporting.)
0.3.2
0.3
Added
- Option
prism-parens
, which allows parenthesis characters (by syntax type, not only( )
) to be colorized differently (e.g. to make them fade away or stand out). The functionprism-set-colors
's new argument,parens-fn
, defaults to one which fades parens into the background (which only applies when the option is enabled).
Changed
- Both
prism-mode
andprism-whitespace-mode
deactivate the other mode when activated, allowing them to be switched between without having to disable one first.
Fixed
- Code comments in strings (or what appeared to be, e.g.
"Foo; bar"
in Lisp) were fontified as comments rather than strings. - End-of-buffer errors signaled in
font-lock-fontify-keywords-region
. (Fixes #6. With thanks to @vuori and @piknik.) - Call
font-lock-flush
when disabling modes. (Thanks to Joseph Turner for reporting.) - Infinite loop with certain buffer contents (involving strings directly adjacent to other tokens). (Fixes #18. Thanks to @nathanvy for reporting.)