]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/re-builder.el: Cosmetic changes
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 28 Oct 2022 13:36:40 +0000 (09:36 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 28 Oct 2022 13:36:40 +0000 (09:36 -0400)
commitc0f7a276cfff36033798ab8bde651a5278c073cc
tree278e8bd92218bd89c11474029764be8dd43667e8
parent1073e16960164b901849c32019a373cb1090e20a
* lisp/emacs-lisp/re-builder.el: Cosmetic changes

(reb-valid-string): Declare it risky so the mode-line will obey its
text-properties.
(reb-lisp-syntax-p): No need to make it `defsubst`.
(reb-target-value): New function to replace the
`reb-target-binding` macro.  Adjust all callers.
(reb-auto-update): Give a more informative error message than just
"invalid" and give it a warning face.
(reb-update-regexp): Always update `reb-regexp-src` (it's harmless),
rather than only when it's necessary (reduces the need for advice in pcre.el).
lisp/emacs-lisp/re-builder.el