From: Eli Zaretskii Date: Fri, 4 Apr 2014 08:26:00 +0000 (+0300) Subject: A better fix for bug #17169. X-Git-Tag: emacs-24.3.90~45 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b7cf27edd37249c60ae1c8f6a11db4707e793c3e;p=emacs.git A better fix for bug #17169. lisp/international/characters.el (mirroring): Fix last change: instead of loading uni-mirrored.el explicitly, do that implicitly by creating the 'mirroring' uniprop table. This avoids announcing the loading of uni-mirrored.el. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f6340047e0a..a49b0e7dc7c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2014-04-04 Eli Zaretskii + + * international/characters.el (mirroring): Fix last change: + instead of loading uni-mirrored.el explicitly, do that implicitly + by creating the 'mirroring' uniprop table. This avoids announcing + the loading of uni-mirrored.el. + 2014-04-04 Glenn Morris * files.el (buffer-stale--default-function) diff --git a/lisp/international/characters.el b/lisp/international/characters.el index f00e49d3bb0..54ab362df04 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el @@ -495,13 +495,12 @@ 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) +;; Load uni-mirrored.el 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 the "Loading" +;; messages. +(unicode-property-table-internal 'mirroring) ;; Latin