# HG changeset patch # User Eli Zaretskii # Date 912677354 0 # Node ID acb8e52c578d768b493f496661707838b54470d3 # Parent e473bf3419a9bbb8616679735dadca9b9474cd79 Remove code that sets syntax table for non-ASCII characters. diff -r e473bf3419a9 -r acb8e52c578d lisp/term/internal.el --- a/lisp/term/internal.el Thu Dec 03 09:22:52 1998 +0000 +++ b/lisp/term/internal.el Thu Dec 03 09:29:14 1998 +0000 @@ -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