diff options
| author | Kenichi Handa | 2005-02-02 02:43:13 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2005-02-02 02:43:13 +0000 |
| commit | 9afd1c3cafe0e6b0df3833bdbe35fe0b39f7e521 (patch) | |
| tree | fdfa6fd59cf5684e9966a99fa0cb5489d64fe8ad | |
| parent | 560721609df5200a474a7cf198f12c4e597df217 (diff) | |
| download | emacs-9afd1c3cafe0e6b0df3833bdbe35fe0b39f7e521.tar.gz emacs-9afd1c3cafe0e6b0df3833bdbe35fe0b39f7e521.zip | |
(set-upcase-syntax, set-downcase-syntax): Fix previous change.
| -rw-r--r-- | lisp/case-table.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/case-table.el b/lisp/case-table.el index 77ebe857ff2..e9697655f38 100644 --- a/lisp/case-table.el +++ b/lisp/case-table.el | |||
| @@ -140,6 +140,7 @@ It also modifies `standard-syntax-table' to give them the syntax of | |||
| 140 | word constituents." | 140 | word constituents." |
| 141 | (setq uc (set-case-syntax-1 uc)) | 141 | (setq uc (set-case-syntax-1 uc)) |
| 142 | (setq lc (set-case-syntax-1 lc)) | 142 | (setq lc (set-case-syntax-1 lc)) |
| 143 | (aset table lc lc) | ||
| 143 | (let ((up (get-upcase-table table))) | 144 | (let ((up (get-upcase-table table))) |
| 144 | (aset up uc uc) | 145 | (aset up uc uc) |
| 145 | (aset up lc uc)) | 146 | (aset up lc uc)) |
| @@ -158,6 +159,8 @@ word constituents." | |||
| 158 | (setq lc (set-case-syntax-1 lc)) | 159 | (setq lc (set-case-syntax-1 lc)) |
| 159 | (aset table uc lc) | 160 | (aset table uc lc) |
| 160 | (aset table lc lc) | 161 | (aset table lc lc) |
| 162 | (let ((up (get-upcase-table table))) | ||
| 163 | (aset up uc uc)) | ||
| 161 | ;; Clear out the extra slots so that they will be | 164 | ;; Clear out the extra slots so that they will be |
| 162 | ;; recomputed from the main (downcase) table and upcase table. | 165 | ;; recomputed from the main (downcase) table and upcase table. |
| 163 | (set-char-table-extra-slot table 1 nil) | 166 | (set-char-table-extra-slot table 1 nil) |