aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/java
diff options
context:
space:
mode:
authorRudolf Adamkovič2025-12-09 13:35:42 +0100
committerEli Zaretskii2025-12-20 14:21:42 +0200
commit985e942d1ccb71c9b29b35080098b8fb851eecde (patch)
treea4459bb7d50ad3969421e8a63f14f1394c5af859 /admin/notes/java
parent9e16010686a99a8b9ee1c01dff248a680605a6ca (diff)
downloademacs-985e942d1ccb71c9b29b35080098b8fb851eecde.tar.gz
emacs-985e942d1ccb71c9b29b35080098b8fb851eecde.zip
hi-lock: Use active region for default values in more places
* lisp/hi-lock.el (hi-lock-line-face-buffer, hi-lock-face-buffer) (hi-lock-face-phrase-buffer): Use the new function `hi-lock-read-regexp' to read font-lock patterns, mirroring `hi-lock-read-face-name' used to read face names. For end users, all three functions now get the default value from the active region, rather than just `hi-lock-face-buffer'. (hi-lock-read-regexp): Extract font-lock pattern reading functionality from `hi-lock-face-buffer' into this function, to mirror how faces are read with `hi-lock-read-face-name' and to promote reuse. (Bug#79976)
Diffstat (limited to 'admin/notes/java')
0 files changed, 0 insertions, 0 deletions