aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii1998-12-03 09:29:14 +0000
committerEli Zaretskii1998-12-03 09:29:14 +0000
commit43ce80a12b2767938234cb3d202437db94417eb8 (patch)
tree521360d115da4e2c49b53b17326701c726ee8c8a
parentc2d1e590cf148e1da87a0815f7023ed3bc9ba122 (diff)
downloademacs-43ce80a12b2767938234cb3d202437db94417eb8.tar.gz
emacs-43ce80a12b2767938234cb3d202437db94417eb8.zip
Remove code that sets syntax table for non-ASCII characters.
-rw-r--r--lisp/term/internal.el37
1 files changed, 0 insertions, 37 deletions
diff --git a/lisp/term/internal.el b/lisp/term/internal.el
index 8d7dae5aeb6..30669f5eb55 100644
--- a/lisp/term/internal.el
+++ b/lisp/term/internal.el
@@ -51,43 +51,6 @@
51(put 'return 'ascii-character 13) 51(put 'return 'ascii-character 13)
52(put 'escape 'ascii-character ?\e) 52(put 'escape 'ascii-character ?\e)
53;; --------------------------------------------------------------------------- 53;; ---------------------------------------------------------------------------
54;; We want to do this when Emacs is started because it depends on the
55;; country code.
56(let* ((i 128)
57 (modify (function
58 (lambda (ch sy)
59 (modify-syntax-entry ch sy text-mode-syntax-table)
60 (if (boundp 'tex-mode-syntax-table)
61 (modify-syntax-entry ch sy tex-mode-syntax-table))
62 (modify-syntax-entry ch sy (standard-syntax-table))
63 )))
64 (table (standard-case-table))
65 ;; The following are strings of letters, first lower then upper case.
66 ;; This will look funny on terminals which display other code pages.
67 (chars
68 (cond
69 ((= dos-codepage 850)
70 "‡€š‚ƒķ„Ž…·†ÆĮ ĩˆŌ‰ÓŠÔ‹ØŒŨÞĄÖ‘’“â”™•ãĒā›–ęĢé—ë˜YėíĄIĢéĪĨÐŅįč")
71 ((= dos-codepage 865)
72 "‡€š‚ƒA„Ž…A†ˆE‰EŠE‹IŒII‘’“O”™•O–UĢU˜Y› AĄIĒOĢUĪĨ")
73 ;; default is 437
74 (t "‡€š‚ƒA„Ž…A†ˆE‰EŠE‹IŒII‘’“O”™•O–UĢU˜Y AĄIĒOĢUĪĨ"))))
75
76 (while (< i 256)
77 (funcall modify i "_")
78 (setq i (1+ i)))
79
80 (setq i 0)
81 (while (< i (length chars))
82 (let ((ch1 (aref chars i))
83 (ch2 (aref chars (1+ i))))
84 (if (> ch2 127)
85 (set-case-syntax-pair ch2 ch1 table))
86 (setq i (+ i 2))))
87 (save-excursion
88 (mapcar (lambda (b) (set-buffer b) (set-case-table table))
89 (buffer-list)))
90 (set-standard-case-table table))
91 54
92;;; internal.el ends here 55;;; internal.el ends here
93 56