mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(terminal-init-linux): Use gpm-mouse-mode rather than obsolete alias.
This commit is contained in:
parent
531fdf02d6
commit
1fb07b5bb6
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue