summaryrefslogtreecommitdiff
path: root/lisp/case-table.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-01-21 00:26:39 +0000
committerRichard M. Stallman <rms@gnu.org>2005-01-21 00:26:39 +0000
commit2cf2fc27c89fdfc244416eebcdc30ca7c1234561 (patch)
tree16ffc2e08a67456e633c84b46c3fe6aadce27b3c /lisp/case-table.el
parenta15252fdfb18b102d25c3c90e866036073a1c3de (diff)
downloademacs-2cf2fc27c89fdfc244416eebcdc30ca7c1234561.tar.gz
Comment changes.
Diffstat (limited to 'lisp/case-table.el')
-rw-r--r--lisp/case-table.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/case-table.el b/lisp/case-table.el
index 1936977c779..094c1d6e62a 100644
--- a/lisp/case-table.el
+++ b/lisp/case-table.el
@@ -110,6 +110,8 @@ word constituents."
(setq lc (set-case-syntax-1 lc))
(aset table uc lc)
(aset table lc lc)
+ ;; Clear out the extra slots so that they will be
+ ;; recomputed from the main (downcase) table.
(set-char-table-extra-slot table 0 nil)
(set-char-table-extra-slot table 1 nil)
(set-char-table-extra-slot table 2 nil)
@@ -124,6 +126,8 @@ It also modifies `standard-syntax-table'.
SYNTAX should be \" \", \"w\", \".\" or \"_\"."
(setq c (set-case-syntax-1 c))
(aset table c c)
+ ;; Clear out the extra slots so that they will be
+ ;; recomputed from the main (downcase) table.
(set-char-table-extra-slot table 0 nil)
(set-char-table-extra-slot table 1 nil)
(set-char-table-extra-slot table 2 nil)