summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-10-30 09:56:38 +0200
committerThanos Apollo <[email protected]>2024-10-30 09:56:38 +0200
commit217a1383a890f416f82ecbd5e90056f30f8d5b03 (patch)
tree1e8a99cc7968a7edc87fc7e42ac41f2561e93a38 /.config/emacs/init.el
parent6576cff82d978fe4e6afed02bff25b46a89aa348 (diff)
emacs: Style.
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 0aeece8..ddb2281 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -35,7 +35,7 @@
(setf user-full-name "Thanos Apollo"
user-mail-address "[email protected]")
-(setq copyright-names-regexp
+(setf copyright-names-regexp
(format "%s <%s>" user-full-name user-mail-address))
(defvar is-zeus (string= (system-name) "zeus"))
@@ -46,14 +46,13 @@
;; Font
(custom-set-faces
(if is-hermes '(default ((t (:inherit nil :height 130 :family "Fira Mono"))))
- '(default ((t (:inherit nil :height 140 :family "Fira Mono")))))
- '(variable-pitch ((t (:inherit t :height 140 :family "Fira Mono"))))
+ '(default ((t (:inherit nil :height 150 :family "Fira Mono")))))
'(org-modern-symbol ((t (:inherit t :family "Iosevka Aile")))))
;; Autoinsert
(auto-insert-mode 1)
-(setq auto-insert-alist '((python-mode . "python.template"))
+(setf auto-insert-alist '((python-mode . "python.template"))
auto-insert-directory (locate-user-emacs-file "insert"))
;; Completions
@@ -403,7 +402,8 @@
(vc-create-repo 'Git))
(shell-command "git pull")
(shell-command (format "%s %s" git "add ."))
- (shell-command (format "%s %s %s" git "commit -m" (shell-quote-argument "Update org-roam notes")))
+ (shell-command (format "%s %s %s" git "commit -m"
+ (shell-quote-argument "Update org-roam notes")))
(vc-git-push nil))
(funcall 'org-roam-db-sync))
:bind (("C-c n" . thanos/notes-map)
@@ -815,7 +815,8 @@ rss.xml" anna piracy)
(if (eshell-git-prompt--collect-status)
(with-face " ✎" 'eshell-git-prompt-modified-face)
(with-face " ✔" 'eshell-git-prompt-exit-success-face))))
- (setq time (with-face (format-time-string "%I:%M:%S %p") 'eshell-git-prompt-multiline-secondary-face))
+ (setq time (with-face (format-time-string "%I:%M:%S %p")
+ 'eshell-git-prompt-multiline-secondary-face))
(setq sign
(if (= (user-uid) 0)
(with-face "\n#" 'eshell-git-prompt-multiline-sign-face)
@@ -1068,7 +1069,6 @@ By default, returns all jabber related buffers format."
(get-buffer-process new-buffer)
(lambda (process event)
(when (memq (process-status process) '(exit signal))
- (sit-for 0.3)
(delete-window (get-buffer-window (process-buffer process)))
(kill-buffer (process-buffer process))))))))