From 0581910205a8c063cfd6247c6e8337a173c5b402 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Wed, 11 Oct 2023 20:33:12 +0200 Subject: [PATCH] More tweaks for Android --- .emacs.d/init.el | 8 +++++--- .emacs.d/lisp/esy-comm.el | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e6f50e9..6676847 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -191,11 +191,11 @@ "--eval" "(setq org-export-with-broken-links t)" "-f" "org-texinfo-export-to-texinfo") ("mv" "README.texi" "pdf-tools.texi")))) +(elpaca ob-prolog) (unless (eq system-type 'android) (elpaca org) (elpaca org-transclusion) - (elpaca ob-prolog) (elpaca (sweeprolog :repo "~/checkouts/sweep/" :files ("*.org" "*.texi" "sweep.pl" @@ -497,6 +497,9 @@ :background "salmon") (set-face-attribute 'font-lock-doc-face nil :slant 'italic) +(set-face-attribute 'elisp-shorthand-font-lock-face nil + :foreground 'unspecified + :slant 'italic) ;;; Add custom code directory to `load-path' @@ -880,8 +883,7 @@ Interactively, POINT is point and KILL is the prefix argument." (add-hook 'prog-mode-hook mode)) (add-hook 'lisp-data-mode-hook #'paredit-mode) -(unless (eq system-type 'android) - (add-hook 'lisp-data-mode-hook #'rainbow-delimiters-mode)) +(add-hook 'lisp-data-mode-hook #'rainbow-delimiters-mode) ;;; Extend other standard hooks diff --git a/.emacs.d/lisp/esy-comm.el b/.emacs.d/lisp/esy-comm.el index 87628e7..79947c3 100644 --- a/.emacs.d/lisp/esy-comm.el +++ b/.emacs.d/lisp/esy-comm.el @@ -113,7 +113,8 @@ (with-eval-after-load 'gnus (require 'gnus-icalendar) (add-hook 'gnus-group-mode-hook #'gnus-topic-mode) - (esy-o365-setup 'gnus) + (unless (eq system-type 'android) + (esy-o365-setup 'gnus)) (gnus-icalendar-setup) (gnus-icalendar-org-setup) (bbdb-initialize 'gnus 'mail 'message)) -- 2.39.2