summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>1998-12-03 09:29:14 +0000
committerEli Zaretskii <eliz@gnu.org>1998-12-03 09:29:14 +0000
commit43ce80a12b2767938234cb3d202437db94417eb8 (patch)
tree521360d115da4e2c49b53b17326701c726ee8c8a /lisp/term
parentc2d1e590cf148e1da87a0815f7023ed3bc9ba122 (diff)
Remove code that sets syntax table for non-ASCII characters.
Diffstat (limited to 'lisp/term')
-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 @@
(put 'return 'ascii-character 13)
(put 'escape 'ascii-character ?\e)
;; ---------------------------------------------------------------------------
-;; We want to do this when Emacs is started because it depends on the
-;; country code.
-(let* ((i 128)
- (modify (function
- (lambda (ch sy)
- (modify-syntax-entry ch sy text-mode-syntax-table)
- (if (boundp 'tex-mode-syntax-table)
- (modify-syntax-entry ch sy tex-mode-syntax-table))
- (modify-syntax-entry ch sy (standard-syntax-table))
- )))
- (table (standard-case-table))
- ;; The following are strings of letters, first lower then upper case.
- ;; This will look funny on terminals which display other code pages.
- (chars
- (cond
- ((= dos-codepage 850)
- "‡€š‚ƒķ„Ž…·†ÆĮ ĩˆŌ‰ÓŠÔ‹ØŒŨÞĄÖ‘’“â”™•ãĒā›–ęĢé—ë˜YėíĄIĢéĪĨÐŅįč")
- ((= dos-codepage 865)
- "‡€š‚ƒA„Ž…A†ˆE‰EŠE‹IŒII‘’“O”™•O–UĢU˜Y› AĄIĒOĢUĪĨ")
- ;; default is 437
- (t "‡€š‚ƒA„Ž…A†ˆE‰EŠE‹IŒII‘’“O”™•O–UĢU˜Y AĄIĒOĢUĪĨ"))))
-
- (while (< i 256)
- (funcall modify i "_")
- (setq i (1+ i)))
-
- (setq i 0)
- (while (< i (length chars))
- (let ((ch1 (aref chars i))
- (ch2 (aref chars (1+ i))))
- (if (> ch2 127)
- (set-case-syntax-pair ch2 ch1 table))
- (setq i (+ i 2))))
- (save-excursion
- (mapcar (lambda (b) (set-buffer b) (set-case-table table))
- (buffer-list)))
- (set-standard-case-table table))
;;; internal.el ends here