aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2006-11-22 01:19:14 +0000
committerKenichi Handa2006-11-22 01:19:14 +0000
commit09e5eab54ce89126a25a0808e0836d24f44e6d93 (patch)
tree7b134d5a78017733cbf745127a4fe217d5f41e10
parent2bb915b877ae22b22adc2a7cbf487278bab118a6 (diff)
downloademacs-09e5eab54ce89126a25a0808e0836d24f44e6d93.tar.gz
emacs-09e5eab54ce89126a25a0808e0836d24f44e6d93.zip
("Turkish"): Sync with HEAD.
-rw-r--r--lisp/language/european.el24
1 files changed, 15 insertions, 9 deletions
diff --git a/lisp/language/european.el b/lisp/language/european.el
index afdb0ed17d1..497be4023b8 100644
--- a/lisp/language/european.el
+++ b/lisp/language/european.el
@@ -486,19 +486,25 @@ and it selects the Spanish tutorial."))
486 (unibyte-display . iso-latin-5) 486 (unibyte-display . iso-latin-5)
487 (input-method . "turkish-postfix") 487 (input-method . "turkish-postfix")
488 (sample-text . "Turkish (T$(D+d(Brk$(D+.(Be) Merhaba") 488 (sample-text . "Turkish (T$(D+d(Brk$(D+.(Be) Merhaba")
489 (setup-function 489 (setup-function . turkish-case-conversion-enable)
490 . (lambda () 490 (setup-function . turkish-case-conversion-disable)
491 (set-case-syntax-pair ?I ?$(D)E(B (standard-case-table))
492 (set-case-syntax-pair ?$(D*D(B ?i (standard-case-table))))
493 (exit-function
494 . (lambda ()
495 (set-case-syntax-pair ?I ?i (standard-case-table))
496 (set-case-syntax ?$(D)E(B "w" (standard-case-table))
497 (set-case-syntax ?$(D*D(B "w" (standard-case-table))))
498 (documentation . "Support for Turkish. 491 (documentation . "Support for Turkish.
499Differs from the Latin-5 environment in using the `turkish-postfix' input 492Differs from the Latin-5 environment in using the `turkish-postfix' input
500method and applying Turkish case rules for the characters i, I, $(D)E(B, $(D*D(B."))) 493method and applying Turkish case rules for the characters i, I, $(D)E(B, $(D*D(B.")))
501 494
495(defun turkish-case-conversion-enable ()
496 "Set up Turkish case conversion of `i' and `I' into `$(D*D(B' and `$(D)E(B'."
497 (let ((table (standard-case-table)))
498 (set-case-syntax-pair ?$(D*D(B ?i table)
499 (set-case-syntax-pair ?I ?$(D)E(B table)))
500
501(defun turkish-case-conversion-disable ()
502 "Set up normal (non-Turkish) case conversion of `i' into `I'."
503 (let ((table (standard-case-table)))
504 (set-case-syntax-pair ?I ?i table)
505 (set-case-syntax ?$(D*D(B "w" table)
506 (set-case-syntax ?$(D)E(B "w" table)))
507
502;; Polish ISO 8859-2 environment. 508;; Polish ISO 8859-2 environment.
503;; Maintainer: Wlodek Bzyl <matwb@univ.gda.pl> 509;; Maintainer: Wlodek Bzyl <matwb@univ.gda.pl>
504;; Keywords: multilingual, Polish 510;; Keywords: multilingual, Polish