diff options
| author | Glenn Morris | 2008-06-07 02:42:21 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-06-07 02:42:21 +0000 |
| commit | 1fb07b5bb66b4355b0d8e4b5e3ec4f41d5e3a286 (patch) | |
| tree | a392c4dbdc7428143dc844647d1163dd298975f9 | |
| parent | 531fdf02d6d1aa89fcb6d4b9dbfa7628b1db5507 (diff) | |
| download | emacs-1fb07b5bb66b4355b0d8e4b5e3ec4f41d5e3a286.tar.gz emacs-1fb07b5bb66b4355b0d8e4b5e3ec4f41d5e3a286.zip | |
(terminal-init-linux): Use gpm-mouse-mode rather than obsolete alias.
| -rw-r--r-- | lisp/term/linux.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/term/linux.el b/lisp/term/linux.el index 14736749786..ea1e2fbe700 100644 --- a/lisp/term/linux.el +++ b/lisp/term/linux.el | |||
| @@ -2,15 +2,14 @@ | |||
| 2 | ;; The Linux console handles Latin-1 by default. | 2 | ;; The Linux console handles Latin-1 by default. |
| 3 | 3 | ||
| 4 | (defun terminal-init-linux () | 4 | (defun terminal-init-linux () |
| 5 | "Terminal initialization function for linux." | 5 | "Terminal initialization function for linux." |
| 6 | (unless (terminal-coding-system) | 6 | (unless (terminal-coding-system) |
| 7 | (set-terminal-coding-system 'iso-latin-1)) | 7 | (set-terminal-coding-system 'iso-latin-1)) |
| 8 | 8 | ||
| 9 | ;; It can't really display underlines. | 9 | ;; It can't really display underlines. |
| 10 | (tty-no-underline) | 10 | (tty-no-underline) |
| 11 | 11 | ||
| 12 | (condition-case nil (t-mouse-mode 1) | 12 | (ignore-errors (gpm-mouse-mode 1)) |
| 13 | (error nil)) | ||
| 14 | 13 | ||
| 15 | ;; Make Latin-1 input characters work, too. | 14 | ;; Make Latin-1 input characters work, too. |
| 16 | ;; Meta will continue to work, because the kernel | 15 | ;; Meta will continue to work, because the kernel |