From 3afc62326bf8d87fcd7b3d6703d78081bce39388 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 19 Feb 2023 02:22:44 +0000 Subject: nits --- custom/jao-custom-eww.el | 4 ++-- custom/jao-custom-gnus.el | 3 +-- init.el | 3 +-- lib/themes/jao-light-theme.el | 3 ++- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/custom/jao-custom-eww.el b/custom/jao-custom-eww.el index 0e77feb..c81004e 100644 --- a/custom/jao-custom-eww.el +++ b/custom/jao-custom-eww.el @@ -193,8 +193,8 @@ (prog1 (apply fn args) (when (and p (> (point) p)) (jao-shr--kill-nl p))))) -(advice-add 'shr-tag-img :around #'jao-shr-tag-img) -(advice-add 'shr-insert :around #'jao-shr-insert) +;; (advice-add 'shr-tag-img :around #'jao-shr-tag-img) +;; (advice-add 'shr-insert :around #'jao-shr-insert) ;;; . (provide 'jao-custom-eww) diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el index a46cb20..e21286a 100644 --- a/custom/jao-custom-gnus.el +++ b/custom/jao-custom-gnus.el @@ -609,8 +609,7 @@ ("nnml:bigml\\.alba" "A" jao-themes-f00) ("nnml:bigml\\.bugs" "b" jao-themes-error) ("nnml:bigml\\.support" "S" default) - ("nnml:jao\\.inbox" "I" jao-themes-f01) - ("nnml:jao\\.trove" "T" jao-themes-f01) + ("nnml:jao\\.\\(inbox\\|trove\\)" "I" jao-themes-f01) ("nnml:bigml\\.[^ibs]" "W" jao-themes-dimm) ("nnml:jao.[^ist]" "J" jao-themes-dimm) (,(format "^nnml:%s" (regexp-opt feeds)) "F" jao-themes-dimm) diff --git a/init.el b/init.el index 7fc9268..2dc1eec 100644 --- a/init.el +++ b/init.el @@ -2571,8 +2571,7 @@ telega-mode-line-string-format '(:eval (telega-mode-line-unread-unmuted)) telega-use-images (display-graphic-p) - telega-open-file-function - (if (display-graphic-p) #'find-file #'jao--see) + telega-open-file-function #'jao--see telega-open-message-as-file (unless (display-graphic-p) '(photo video animation))) (with-eval-after-load "tracking" diff --git a/lib/themes/jao-light-theme.el b/lib/themes/jao-light-theme.el index 8e97f8e..afbba3d 100644 --- a/lib/themes/jao-light-theme.el +++ b/lib/themes/jao-light-theme.el @@ -37,7 +37,8 @@ (lightgreen "darkgreen") (yellow "lightyellow")) (:face-size 9) - (:face-family "DejaVu Sans Mono") + ;; (:face-family "DejaVu Sans Mono") + (:face-family "Hack") (:bold-weight 'semibold) (:palette (fg "black") (bg "white") -- cgit v1.2.3