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 | |
| 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.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/international/characters.el | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ee7d61c7389..c35be3ec270 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-04-03 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * international/characters.el: Preload uni-mirrored.el. (Bug#17169) | ||
| 4 | |||
| 1 | 2014-04-03 Glenn Morris <rgm@gnu.org> | 5 | 2014-04-03 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * files.el (make-backup-file-name-function) | 7 | * 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.") | |||
| 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) |