]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/byte-opt.el (byte-compile-trueconstp): Extend
authorMattias Engdegård <mattiase@acm.org>
Thu, 27 Jul 2023 07:55:43 +0000 (09:55 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 27 Jul 2023 15:09:30 +0000 (17:09 +0200)
Add skip-chars-forward, skip-chars-backward, skip-syntax-forward,
skip-syntax-backward, current-column, current-indentation,
char-syntax, syntax-class-to-char, parse-partial-sexp, goto-char,
forward-line, next-window, previous-window, minibuffer-window,
selected-frame, selected-window, standard-case-table,
standard-syntax-table, syntax-table, frame-first-window,
frame-root-window and frame-selected-window as always-true functions.

lisp/emacs-lisp/byte-opt.el

index 3005d69ae88f2c5d8c945af0eb2fe11e28fda60f..c7d8531a870d668e1a9d0ebe601f2cf05ec8295a 100644 (file)
@@ -786,6 +786,17 @@ for speeding up processing.")
                            make-marker copy-marker point-marker mark-marker
                            set-marker
                            kbd key-description
+                           skip-chars-forward skip-chars-backward
+                           skip-syntax-forward skip-syntax-backward
+                           current-column current-indentation
+                           char-syntax syntax-class-to-char
+                           parse-partial-sexp goto-char forward-line
+                           next-window previous-window minibuffer-window
+                           selected-frame selected-window
+                           standard-case-table standard-syntax-table
+                           syntax-table
+                           frame-first-window frame-root-window
+                           frame-selected-window
                            always))
                   t)
                  ((eq head 'if)