indentation

This commit is contained in:
Case Duckworth 2022-05-06 12:41:54 -05:00
parent 2d69ea08d3
commit c66f44e360
1 changed files with 10 additions and 8 deletions

18
init.el
View File

@ -302,7 +302,7 @@
#'lin-mode
#'+dired-dim-git-ignores)
(+with-ensure-after-init ; Necessary because jabber loads later
(:+key "C-x C-j" #'dired-jump))
(:+key "C-x C-j" #'dired-jump))
(dolist (refresh-after-func '(dired-do-flagged-delete))
(advice-add refresh-after-func :after #'revert-buffer))
(with-eval-after-load 'frowny
@ -316,10 +316,12 @@
(:also-load +elisp)
(:option eval-expression-print-length nil
eval-expression-print-level nil)
(:with-map (emacs-lisp-mode-map lisp-interaction-mode-map)
(:bind "C-c C-c" #'eval-defun
"C-c C-k" #'+elisp-eval-region-or-buffer
"C-c C-z" #'ielm))
(:with-mode emacs-lisp-mode
(:hook #'checkdoc-minor-mode))
(:bind-into (emacs-lisp-mode-map lisp-interaction-mode-map)
"C-c C-c" #'eval-defun
"C-c C-k" #'+elisp-eval-region-or-buffer
"C-c C-z" #'ielm)
(advice-add #'eval-region :around #'+eval-region@pulse))
(setup eshell
@ -370,7 +372,7 @@
;; Bind keys
(dolist (binding '(("C-d" . +eshell-quit-or-delete-char)))
(define-key eshell-mode-map
(kbd (car binding)) (cdr binding)))
(kbd (car binding)) (cdr binding)))
;; Environment variables
(dolist (environment '(("PAGER" . "cat")))
(setenv (car environment) (cdr environment)))))
@ -1987,8 +1989,8 @@
(,(intern (format "modus-themes-heading-%s" facen))
fixed-pitch))
:now)))))
(:face 'modus-themes-tab-active '((t :bold nil))
'modus-themes-tab-inactive '((t :italic t)))
(:face 'modus-themes-tab-active '((t ( :bold nil)))
'modus-themes-tab-inactive '((t ( :italic t))))
(define-advice modus-themes--current-theme (:around (fn &rest r))
"Fix a \"nil is not a Modus theme\" error."