]> git.earman.xyz Git - emacsinit.git/commitdiff
Changes for android
authorrearman <rearman@r717.net>
Mon, 13 May 2024 18:46:14 +0000 (14:46 -0400)
committerrearman <rearman@r717.net>
Mon, 13 May 2024 18:46:14 +0000 (14:46 -0400)
init.org

index b0585ad00ace989a06e7af696ef81af322c44251..d6b3b4d010686d9b113698b79cb41432cb709ea8 100644 (file)
--- 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