From bbab1c4fb8ecaf7dfe9d9e2a43b053f28bde2e53 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 3 Apr 2014 22:53:43 +0300 Subject: [PATCH] Fix bug #17169 with infinite recursion in bidi_initialize under force-load-messages. lisp/international/characters.el: Preload uni-mirrored.el. --- lisp/ChangeLog | 4 ++++ lisp/international/characters.el | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ee7d61c7389..c35be3ec270 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-04-03 Eli Zaretskii + + * international/characters.el: Preload uni-mirrored.el. (Bug#17169) + 2014-04-03 Glenn Morris * files.el (make-backup-file-name-function) diff --git a/lisp/international/characters.el b/lisp/international/characters.el index 2b656375ca2..f00e49d3bb0 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el @@ -495,6 +495,14 @@ with L, LRE, or LRO Unicode bidi character type.") (modify-category-entry key ?L)))) table))) +;; Load this if available, so that it gets dumped into Emacs. This +;; allows to start Emacs with force-load-messages in ~/.emacs, and +;; avoid infinite recursion in bidi_initialize, which needs to load +;; uni-mirrored.el in order to display "Loading" messages. We use +;; 'no-error to avoid error messages when bootstrapping without +;; generated uni-*.el files. +(load "international/uni-mirrored" 'no-error) + ;; Latin (modify-category-entry '(#x80 . #x024F) ?l) -- 2.39.5