]> code.delx.au - gnu-emacs/commitdiff
(set-upcase-syntax, set-downcase-syntax): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Wed, 2 Feb 2005 02:43:13 +0000 (02:43 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 2 Feb 2005 02:43:13 +0000 (02:43 +0000)
lisp/case-table.el

index 77ebe857ff2bc870dd4a3622b598672e1559d5d3..e9697655f389b762120435b9a0108514989675a2 100644 (file)
@@ -140,6 +140,7 @@ It also modifies `standard-syntax-table' to give them the syntax of
 word constituents."
   (setq uc (set-case-syntax-1 uc))
   (setq lc (set-case-syntax-1 lc))
+  (aset table lc lc)
   (let ((up (get-upcase-table table)))
     (aset up uc uc)
     (aset up lc uc))
@@ -158,6 +159,8 @@ word constituents."
   (setq lc (set-case-syntax-1 lc))
   (aset table uc lc)
   (aset table lc lc)
+  (let ((up (get-upcase-table table)))
+    (aset up uc uc))
   ;; Clear out the extra slots so that they will be
   ;; recomputed from the main (downcase) table and upcase table.
   (set-char-table-extra-slot table 1 nil)