File: linux.el

package info (click to toggle)
emacs20 20.7-13.3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 67,724 kB
  • ctags: 45,381
  • sloc: lisp: 399,345; ansic: 171,219; sh: 3,798; makefile: 1,928; perl: 947; cs: 749; asm: 254; csh: 9; sed: 4
file content (12 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
;; The Linux console handles Latin-1 by default.

(unless (terminal-coding-system)
  (set-terminal-coding-system 'iso-latin-1))

;; Make Latin-1 input characters work, too.
;; Meta will continue to work, because the kernel
;; turns that into Escape.

(let ((value (current-input-mode)))
  ;; The third arg only matters in that it is not t or nil.
  (set-input-mode (nth 0 value) (nth 1 value) 'iso-latin-1 (nth 3 value)))