From: Fredrik Fornwall Date: Mon, 18 Apr 2016 06:38:28 +0000 (-0400) Subject: emacs: Make scrolling when dragging finger work X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/0d25a03f1129c0949f0d7d3ab6dd98651d802b4a?ds=inline emacs: Make scrolling when dragging finger work --- diff --git a/packages/emacs/build.sh b/packages/emacs/build.sh index e5f9075f..21c7b07b 100644 --- a/packages/emacs/build.sh +++ b/packages/emacs/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/emacs/ TERMUX_PKG_DESCRIPTION="Extensible, customizable text editor-and more" TERMUX_PKG_VERSION=25.0.92 -TERMUX_PKG_BUILD_REVISION=6 +TERMUX_PKG_BUILD_REVISION=7 TERMUX_PKG_SRCURL=ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_DEPENDS="ncurses, gnutls, libxml2" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-x --with-xpm=no --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no --without-gconf --without-gsettings --with-gnutls --with-xml2" diff --git a/packages/emacs/site-init.el b/packages/emacs/site-init.el index 064a308b..f93baeba 100644 --- a/packages/emacs/site-init.el +++ b/packages/emacs/site-init.el @@ -1,2 +1,4 @@ ; Enable terminal mouse events: (xterm-mouse-mode 1) +(global-set-key [mouse-4] 'scroll-down-line) +(global-set-key [mouse-5] 'scroll-up-line)