Other niceities

This commit is contained in:
Shawn Borton 2026-09-11 09:43:23 -05:00
parent dc727a4992
commit 4d6b1e0e98

View file

@ -28,6 +28,7 @@
password-cache-expiry nil ; Trust your computers. password-cache-expiry nil ; Trust your computers.
scroll-margin 2 ; It's nice to maintain a little margin scroll-margin 2 ; It's nice to maintain a little margin
window-resize-pixelwise t window-resize-pixelwise t
reb-re-syntax 'string ; Normalize Emacs regexps
) )
;;; (setq auth-sources "~/.authinfo.gpg") ;;; (setq auth-sources "~/.authinfo.gpg")
;;;(setq auth-sources ;;;(setq auth-sources
@ -670,6 +671,9 @@
(setq ledger-binary-path "hledger.sh") (setq ledger-binary-path "hledger.sh")
(setq ledger-default-date-format "%Y-%m-%d")) (setq ledger-default-date-format "%Y-%m-%d"))
;; ================
;; Helper functions
;; ================
(defun my/org-hugo-link-vanilla-markdown (link desc info) (defun my/org-hugo-link-vanilla-markdown (link desc info)
"Render org links as vanilla Markdown links instead of Hugo relref." "Render org links as vanilla Markdown links instead of Hugo relref."
(let* ((type (org-element-property :type link)) (let* ((type (org-element-property :type link))