dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 03d0896b704c48eb53d2e5fb77418f879a634c55
parent 4b023b09a1582027cbffc59ab960f9526deb08a0
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Fri, 14 Jan 2022 17:30:21 +0100

emacs: move custom-set-faces into org config

Diffstat:
Memacs/config.org | 7+++++++
Memacs/custom.el | 12+-----------
2 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/emacs/config.org b/emacs/config.org @@ -630,6 +630,13 @@ Run it in certain cases: scrolling up/down, recentering, switching windows. (dolist (command '(scroll-up-command scroll-down-command recenter-top-bottom other-window)) (advice-add command :after #'pulse-line)) #+end_src + +And set the pulse color: + +#+begin_src emacs-lisp + (custom-set-faces '(pulse-highlight-start-face ((t (:background "CadetBlue2"))))) +#+end_src + ** Pager mode M-x view-mode enables pager behavior. I want read-only files to automatically use pager mode: diff --git a/emacs/custom.el b/emacs/custom.el @@ -21,7 +21,7 @@ '(objed-cursor-color "#ff6c6b") '(package-hidden-regexps '("^I")) '(package-selected-packages - '(ol-notmuch quelpa-use-package quelpa org-contrib rubik poker minesweeper undo-tree csv-mode hl-todo org-noter org-ref virtualenvwrapper elpy pdf-tools diminish company-lean counsel rainbow-mode edit-indirect expand-region elpher sr-speedbar 2048-game vterm notmuch magit lean-mode markdown-mode anki-connect anki-editor doom-themes all-the-icons use-package-ensure which-key use-package org-bullets exec-path-from-shell)) + '(ivy-posframe ol-notmuch quelpa-use-package quelpa org-contrib rubik poker minesweeper undo-tree csv-mode hl-todo org-noter org-ref virtualenvwrapper elpy pdf-tools diminish company-lean counsel rainbow-mode edit-indirect expand-region elpher sr-speedbar 2048-game vterm notmuch magit lean-mode markdown-mode anki-connect anki-editor doom-themes all-the-icons use-package-ensure which-key use-package org-bullets exec-path-from-shell)) '(pdf-view-midnight-colors (cons "#bbc2cf" "#282c34")) '(rustic-ansi-faces ["#282c34" "#ff6c6b" "#98be65" "#ECBE7B" "#51afef" "#c678dd" "#46D9FF" "#bbc2cf"]) @@ -47,13 +47,3 @@ (cons 340 "#5B6268") (cons 360 "#5B6268"))) '(vc-annotate-very-old-color nil)) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(helm-buffer-file ((t (:inherit default)))) - '(helm-ff-file-extension ((t (:inherit default)))) - '(helm-non-file-buffer ((t (:inherit font-lock-comment-face)))) - '(hl-todo ((t (:inherit hl-todo :underline t)))) - '(pulse-highlight-start-face ((t (:background "CadetBlue2")))))