From: rearman Date: Mon, 13 May 2024 18:46:14 +0000 (-0400) Subject: Changes for android X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=ff319026946499b017bc986b9aff4d68026b9a14;p=emacsinit.git Changes for android --- diff --git a/init.org b/init.org index b0585ad..d6b3b4d 100644 --- a/init.org +++ b/init.org @@ -1,5 +1,4 @@ #+TITLE: Emacs Configuratione -#+OPTIONS: toc:4 #+PROPERTY: header-args:emacs-lisp :tangle yes :results silent :export code * Introduction @@ -350,8 +349,9 @@ Awesome package - adds transclusions. :END: Not a package in the strict sense, just a .el file loaded as a git submodule - forked from [[https://github.com/akrito/acme-mouse/]] to [[https://github.com/rearman/acme-mouse/]] and modified to meet changes to the old =cl= package, and to fix the ~mouse-3~ search function. Also see the [[id:451a20e6-73a0-4d55-aeaa-e795980a6974][Maus]] section. #+BEGIN_SRC emacs-lisp -(add-to-list 'load-path (concat user-emacs-directory "acme-mouse/")) -(require 'acme-mouse) +(unless (equal system-type 'android) + (add-to-list 'load-path (concat user-emacs-directory "acme-mouse/")) + (require 'acme-mouse)) #+END_SRC *** AUCTeX @@ -533,7 +533,8 @@ I originally had custom defuns and bindings to do this, but then I found out it :END: Don't follow links with mouse-1, so I can select without having to use the keyboard (when I want to). #+BEGIN_SRC emacs-lisp -(setq mouse-1-click-follows-link nil) +(unless (equal system-type 'android) + (setq mouse-1-click-follows-link nil)) #+END_SRC *** Buffer looks