summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-opt.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-07-27 11:51:26 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2023-07-27 17:09:30 +0200
commit93eccb5e040c8fff4c4527819888e01683df5aaa (patch)
tree10585a8bb9296f805f450a67fc42e45f08b690ab /lisp/emacs-lisp/byte-opt.el
parente055c635b0d73efe3826e418690a3d91eee69647 (diff)
downloademacs-93eccb5e040c8fff4c4527819888e01683df5aaa.tar.gz
emacs-93eccb5e040c8fff4c4527819888e01683df5aaa.tar.bz2
emacs-93eccb5e040c8fff4c4527819888e01683df5aaa.zip
Better compilation of char-before, backward-char and backward-word
Implement char-before, backward-char and backward-word as compiler macros instead of byte-compile handlers so that the source-level optimiser gets to simplify the result. In particular, this removes some branches. * lisp/emacs-lisp/bytecomp.el (byte-compile-char-before) (byte-compile-backward-char, byte-compile-backward-word): Remove. (bytecomp--char-before, bytecomp--backward-char) (bytecomp--backward-word): New.
Diffstat (limited to 'lisp/emacs-lisp/byte-opt.el')
0 files changed, 0 insertions, 0 deletions