aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/language
diff options
context:
space:
mode:
authorK. Handa2017-10-15 23:15:47 +0900
committerK. Handa2017-10-15 23:15:47 +0900
commitf95cd5cd7006d2801948b75f7a270ea66d5579bf (patch)
tree4abe0c333f5d08115b9a27de149d306133725b55 /lisp/language
parenta7f154688d2de911c995be9b640cee36bec66673 (diff)
downloademacs-f95cd5cd7006d2801948b75f7a270ea66d5579bf.tar.gz
emacs-f95cd5cd7006d2801948b75f7a270ea66d5579bf.zip
Improve customization of arabic-shaper-ZWNJ-handling.
Make the effect of customizing arabic-shaper-ZWNJ-handling appear immediately. * lisp/language/misc-lang.el (arabic-shaper-ZWNJ-handling): Add :set value. * src/composite.c (Fclear_composition_cache): New function. (syms_of_composite): Defsubr it.
Diffstat (limited to 'lisp/language')
-rw-r--r--lisp/language/misc-lang.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/language/misc-lang.el b/lisp/language/misc-lang.el
index a63c3a21091..cbb581fd19f 100644
--- a/lisp/language/misc-lang.el
+++ b/lisp/language/misc-lang.el
@@ -95,7 +95,10 @@ Customizing the value takes effect when you start Emacs next time."
95 :type '(choice 95 :type '(choice
96 (const :tag "default" nil) 96 (const :tag "default" nil)
97 (const :tag "as space" as-space) 97 (const :tag "as space" as-space)
98 (const :tag "absorb" absorb))) 98 (const :tag "absorb" absorb))
99 :set (lambda (sym val)
100 (set-default sym val)
101 (clear-composition-cache)))
99 102
100;; Record error in arabic-change-gstring. 103;; Record error in arabic-change-gstring.
101(defvar arabic-shape-log nil) 104(defvar arabic-shape-log nil)