commit c125e1deefa22992d29588673741feb9f3e108cd
parent fccbf17d58388f6cc1d5192cd26e1ea92ba85a2b
Author: Vineet Kumar <git@vineetk.net>
Date: Thu, 28 May 2026 17:38:56 -0400
files/emacs: indent
Diffstat:
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/epistemia/files/emacs/.config/emacs/init.el b/epistemia/files/emacs/.config/emacs/init.el
@@ -194,11 +194,11 @@
;; Replace bindings. Lazily loaded by `use-package'.
:bind (;; C-c bindings in `mode-specific-map'
("C-c M-x" . consult-mode-command)
- ;("C-c h" . consult-history)
- ;("C-c k" . consult-kmacro)
- ;("C-c m" . consult-man)
- ;("C-c i" . consult-info)
- ;([remap Info-search] . consult-info)
+ ;("C-c h" . consult-history)
+ ;("C-c k" . consult-kmacro)
+ ;("C-c m" . consult-man)
+ ;("C-c i" . consult-info)
+ ;([remap Info-search] . consult-info)
;; C-x bindings in `ctl-x-map'
("C-x M-:" . consult-complex-command) ;; orig. repeat-complex-command
("C-x b" . consult-buffer) ;; orig. switch-to-buffer
@@ -454,10 +454,10 @@
'org-babel-load-languages
'((emacs-lisp . t)
(latex . t)))
- :config ; I have menu bar disabled, but org-agenda tries to update
- ; it when a new org-mode buffer is created. this leads to a
- ; cryptic "Wrong type argument: keymapp, nil" (real issue
- ; only visible via toggle-debug-on-error)
+ :config ; I have menu bar disabled, but org-agenda tries to update
+ ; it when a new org-mode buffer is created. this leads to a
+ ; cryptic "Wrong type argument: keymapp, nil" (real issue
+ ; only visible via toggle-debug-on-error)
(advice-add 'easy-menu-add-item :around
(lambda (orig map path item &optional before)
(when map
@@ -573,18 +573,18 @@
(interactive)
(let* ((path-dirs (parse-colon-path (getenv "PATH")))
(executables (delete-dups
- (mapcan (lambda (dir)
- (when (file-directory-p dir)
- (directory-files dir nil "^[^.]")))
- path-dirs)))
+ (mapcan (lambda (dir)
+ (when (file-directory-p dir)
+ (directory-files dir nil "^[^.]")))
+ path-dirs)))
(cmd (completing-read "Run: " executables nil nil)))
(start-process-shell-command cmd nil cmd)))
(use-package exwm
:custom
(exwm-input-global-keys
- `(([?\s-r] . exwm-reset) ;; s-r: Reset (to line-mode).
- ([?\s-p] . exwm-program-launcher))) ;; s-p: Launch programs.
+ `(([?\s-r] . exwm-reset) ;; s-r: Reset (to line-mode).
+ ([?\s-p] . exwm-program-launcher))) ;; s-p: Launch programs.
:bind
(:map exwm-mode-map
("C-q" . exwm-input-send-next-key))
@@ -608,12 +608,12 @@
(if (and (save-excursion
(goto-char (point-min))
(looking-at ".*-\\*-"))) ; If there's a -*- line
- ;; First remove any existing eval, then add the new one
- (modify-file-local-variable-prop-line
- 'eval nil 'delete))
+ ;; First remove any existing eval, then add the new one
+ (modify-file-local-variable-prop-line
+ 'eval nil 'delete))
;; Always add our eval
(add-file-local-variable-prop-line
- 'eval '(and (fboundp 'gptel-mode) (gptel-mode 1))))))
+ 'eval '(and (fboundp 'gptel-mode) (gptel-mode 1))))))
(use-package gptel
:after age ; because of ~/.authinfo.age