Fix bug #17169 with infinite recursion in bidi_initialize under force-load-messages.

lisp/international/characters.el: Preload uni-mirrored.el.
This commit is contained in:
Eli Zaretskii 2014-04-03 22:53:43 +03:00
parent ebe8e0765c
commit bbab1c4fb8
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2014-04-03 Eli Zaretskii <eliz@gnu.org>
* international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2014-04-03 Glenn Morris <rgm@gnu.org>
* files.el (make-backup-file-name-function)

View file

@ -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)