mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-31 21:22:27 +00:00
c764ffdba3
Warning (comp): ../../../../../usr/share/emacs/site-lisp/site-start.el: Warning: (lambda nil \...) quoted with ' rather than with #' Disable showing Disable logging
10 lines
299 B
EmacsLisp
10 lines
299 B
EmacsLisp
;; Enable terminal mouse events:
|
|
(xterm-mouse-mode 1)
|
|
(global-set-key [mouse-4] 'scroll-down-line)
|
|
(global-set-key [mouse-5] 'scroll-up-line)
|
|
|
|
;; Assume UTF-8 keyboard input for emacsclient:
|
|
(add-hook 'server-visit-hook
|
|
#'(lambda ()
|
|
(set-keyboard-coding-system 'utf-8-unix)))
|