Mercurial > emacs
changeset 95628:8bb6e8177f61
(terminal-init-linux): Use gpm-mouse-mode rather than obsolete alias.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 07 Jun 2008 02:42:21 +0000 |
parents | 51a4069c3233 |
children | 470520f9b596 |
files | lisp/term/linux.el |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/term/linux.el Sat Jun 07 02:41:46 2008 +0000 +++ b/lisp/term/linux.el Sat Jun 07 02:42:21 2008 +0000 @@ -2,15 +2,14 @@ ;; The Linux console handles Latin-1 by default. (defun terminal-init-linux () - "Terminal initialization function for linux." + "Terminal initialization function for linux." (unless (terminal-coding-system) (set-terminal-coding-system 'iso-latin-1)) ;; It can't really display underlines. (tty-no-underline) - (condition-case nil (t-mouse-mode 1) - (error nil)) + (ignore-errors (gpm-mouse-mode 1)) ;; Make Latin-1 input characters work, too. ;; Meta will continue to work, because the kernel