emacs: typo: disable for git-commit-mode
[~bandali/configs] / .emacs.d / init.el
index 21b47de..055e664 100644 (file)
@@ -419,7 +419,9 @@ For disabling the behaviour for certain buffers and/or modes."
   (display-time-mode)
   :custom
   (display-time-default-load-average nil)
-  (display-time-format "%a %b %-e, %-l:%M%P"))
+  (display-time-format "%a %b %-e, %-l:%M%P")
+  (display-time-mail-icon '(image :type xpm :file "gnus/gnus-pointer.xpm" :ascent center))
+  (display-time-use-mail-icon t))
 
 (use-feature battery
   :if b/exwm-p
@@ -1856,6 +1858,9 @@ This function is intended for use with `ivy-ignore-buffers'."
                ("M-w" . boxquote-kill-ring-save)))
 
 (use-package orgalist
+  ;; breaks auto-fill-mode, showing this error:
+  ;; orgalist--boundaries: Lisp nesting exceeds ‘max-lisp-eval-depth’
+  :disabled
   :after message
   :hook (message-mode . orgalist-mode))
 
@@ -1864,7 +1869,7 @@ This function is intended for use with `ivy-ignore-buffers'."
   :defer 0.5
   :config
   :hook (((text-mode erc-mode web-mode) . typo-mode)
-         (tex-mode                      . (lambda ()(typo-mode -1)))))
+         ((tex-mode git-commit-mode)    . (lambda ()(typo-mode -1)))))
 
 (use-feature electric
   :disabled
@@ -2003,6 +2008,7 @@ This function is intended for use with `ivy-ignore-buffers'."
              :files (:defaults "Debbugs.wsdl"))
   :bind
   (("C-c D d" . debbugs-gnu)
+   ("C-c D b" . debbugs-gnu-bugs)
    ("C-c D e" .
     (lambda ()
       (interactive)