diff options
author | Eli Zaretskii <eliz@gnu.org> | 1998-12-03 09:29:14 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 1998-12-03 09:29:14 +0000 |
commit | 43ce80a12b2767938234cb3d202437db94417eb8 (patch) | |
tree | 521360d115da4e2c49b53b17326701c726ee8c8a /lisp/term/internal.el | |
parent | c2d1e590cf148e1da87a0815f7023ed3bc9ba122 (diff) | |
download | emacs-43ce80a12b2767938234cb3d202437db94417eb8.tar.gz |
Remove code that sets syntax table for non-ASCII characters.
Diffstat (limited to 'lisp/term/internal.el')
-rw-r--r-- | lisp/term/internal.el | 37 |
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
AEEEIIIOOUĢUY AĄIĒOĢUĪĨ") - ;; default is 437 - (t "A
AEEEIIIOOUĢUY 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 |