File: linux.el

package info (click to toggle)
emacs21 21.4a%2B1-3
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 59,100 kB
  • ctags: 58,909
  • sloc: lisp: 493,229; ansic: 237,171; xml: 4,262; sh: 4,109; makefile: 2,479; perl: 1,069; cs: 776; asm: 254; csh: 9; sed: 4
file content (14 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;; 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)))

;;; linux.el ends here