diff options
| author | Eli Zaretskii | 2014-04-03 22:53:43 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-04-03 22:53:43 +0300 |
| commit | bbab1c4fb8ecaf7dfe9d9e2a43b053f28bde2e53 (patch) | |
| tree | a40650506a1bcb83eb32f34ff1600ff052a56470 /lisp/international | |
| parent | ebe8e0765cf469daeda515bab7e3afa6a35fcb43 (diff) | |
| download | emacs-bbab1c4fb8ecaf7dfe9d9e2a43b053f28bde2e53.tar.gz emacs-bbab1c4fb8ecaf7dfe9d9e2a43b053f28bde2e53.zip | |
Fix bug #17169 with infinite recursion in bidi_initialize under force-load-messages.
lisp/international/characters.el: Preload uni-mirrored.el.
Diffstat (limited to 'lisp/international')
| -rw-r--r-- | lisp/international/characters.el | 8 |
1 files changed, 8 insertions, 0 deletions
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.") | |||
| 495 | (modify-category-entry key ?L)))) | 495 | (modify-category-entry key ?L)))) |
| 496 | table))) | 496 | table))) |
| 497 | 497 | ||
| 498 | ;; Load this if available, so that it gets dumped into Emacs. This | ||
| 499 | ;; allows to start Emacs with force-load-messages in ~/.emacs, and | ||
| 500 | ;; avoid infinite recursion in bidi_initialize, which needs to load | ||
| 501 | ;; uni-mirrored.el in order to display "Loading" messages. We use | ||
| 502 | ;; 'no-error to avoid error messages when bootstrapping without | ||
| 503 | ;; generated uni-*.el files. | ||
| 504 | (load "international/uni-mirrored" 'no-error) | ||
| 505 | |||
| 498 | ;; Latin | 506 | ;; Latin |
| 499 | 507 | ||
| 500 | (modify-category-entry '(#x80 . #x024F) ?l) | 508 | (modify-category-entry '(#x80 . #x024F) ?l) |