From c9bcd38f9c4691ba6ad3d28af26f44a15a15cadd Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 15 Aug 2021 21:10:48 -0500 Subject: Um-lambdafy a variable --- init.el | 69 ++++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 38 insertions(+), 31 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 9857b51..fdf3543 100644 --- a/init.el +++ b/init.el @@ -352,7 +352,7 @@ erc-kill-server-buffer-on-quit t erc-nick "acdw" erc-nick-truncate (- erc-fill-static-center 1) - erc-prompt (lambda () (acdw-erc/prompt)) + erc-prompt #'acdw-erc/prompt erc-prompt-for-password nil ; use ~/.authinfo erc-rename-buffers t erc-server erc-default-server @@ -1297,35 +1297,39 @@ if ripgrep is installed, otherwise `consult-grep'." (setup (:straight org) (:straight org-contrib) (require 'acdw-org) ; so I don't clutter up init.el - (:option org-adapt-indentation nil - org-catch-invisible-edits 'smart - org-clock-clocked-in-display 'mode-line - org-clock-string-limit 7 ; gives time and not title - org-confirm-babel-evaluate nil - org-ellipsis " …" - org-export-coding-system 'utf-8-unix - org-export-headline-levels 8 - org-export-with-section-numbers nil - org-export-with-smart-quotes t - org-export-with-sub-superscripts t - org-export-with-toc nil - org-fontify-done-headline t - org-fontify-quote-and-verse-blocks t - org-fontify-whole-heading-line t - org-hide-emphasis-markers t - org-html-coding-system 'utf-8-unix - org-imenu-depth 3 - org-outline-path-complete-in-steps nil - org-pretty-entities t - org-refile-use-outline-path 'file - org-special-ctrl-a/e t - org-special-ctrl-k t - org-src-fontify-natively t - org-src-tab-acts-natively t - org-src-window-setup 'current-window - org-startup-truncated nil - org-tags-column 0 ; (- 0 fill-column -3) - org-directory "~/org") + (:option + org-adapt-indentation nil + org-catch-invisible-edits 'smart + org-clock-clocked-in-display 'mode-line + org-clock-string-limit 7 ; gives time and not title + org-confirm-babel-evaluate nil + org-directory "~/org" + org-ellipsis " …" + org-export-coding-system 'utf-8-unix + org-export-headline-levels 8 + org-export-with-section-numbers nil + org-export-with-smart-quotes t + org-export-with-sub-superscripts t + org-export-with-toc nil + org-fontify-done-headline t + org-fontify-quote-and-verse-blocks t + org-fontify-whole-heading-line t + org-hide-emphasis-markers t + org-html-coding-system 'utf-8-unix + org-image-actual-width '(300) + org-imenu-depth 3 + org-outline-path-complete-in-steps nil + org-pretty-entities t + org-refile-use-outline-path 'file + org-special-ctrl-a/e t + org-special-ctrl-k t + org-src-fontify-natively t + org-src-tab-acts-natively t + org-src-window-setup 'current-window + org-startup-truncated nil + org-startup-with-inline-images t + org-tags-column 0 ; (- 0 fill-column -3) + ) (:bind "RET" acdw-org/return-dwim "" acdw-org/org-table-copy-down @@ -1344,7 +1348,10 @@ if ripgrep is installed, otherwise `consult-grep'." acdw/org-fix-lines-before-save) (advice-add 'org-delete-backward-char - :override #'acdw-org/delete-backward-char)) + :override #'acdw-org/delete-backward-char) + + (setup (:straight org-appear) + (:hook-into org-mode))) (setup (:straight paredit) -- cgit 1.4.1-21-gabe81