summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-06-01 18:52:11 +0300
committerEli Zaretskii <eliz@gnu.org>2019-06-01 18:52:11 +0300
commitdaf32f1f87b3d71cddd9ab2e9e4c3f5b523ae409 (patch)
tree69e940f7c12f43d8340c2033e90356ca0c5e7830
parentd8a6d82c4d34286b377fd7bddd4be0116e8dd4b9 (diff)
downloademacs-daf32f1f87b3d71cddd9ab2e9e4c3f5b523ae409.tar.gz
Speed up redisplay of HELLO
* etc/HELLO: Set 'inhibit-compacting-font-caches' non-nil locally. (Bug#36032) * lisp/files.el: Add 'inhibit-compacting-font-caches' to the list of built-in variables for which we set up 'safe-local-variable' properties.
-rw-r--r--etc/HELLO1
-rw-r--r--lisp/files.el1
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/HELLO b/etc/HELLO
index ae52e94b065..f424a2ab8aa 100644
--- a/etc/HELLO
+++ b/etc/HELLO
@@ -96,4 +96,5 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; tab-width: 32
;;; bidi-display-reordering: t
;;; coding: iso-2022-7bit
+;;; inhibit-compacting-font-caches: t
;;; End:
diff --git a/lisp/files.el b/lisp/files.el
index f3b502095dd..2187eba1a42 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3233,6 +3233,7 @@ asking you for confirmation."
(fill-column . integerp) ;; C source code
(indent-tabs-mode . booleanp) ;; C source code
(left-margin . integerp) ;; C source code
+ (inhibit-compacting-font-caches . booleanp) ;; C source code
(no-update-autoloads . booleanp)
(lexical-binding . booleanp) ;; C source code
(tab-width . integerp) ;; C source code