diff options
author | Yuchen Pei <id@ypei.org> | 2025-01-12 19:56:18 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2025-01-12 19:56:18 +1100 |
commit | f5a111de58af93660603c639043a514a4aeaa968 (patch) | |
tree | 1f667eec7550d01ff538d059f9d3ebc1b0eaf9dc /emacs/.emacs.d/init | |
parent | 672458a898250389444a4a41a8384b9a8e3ec942 (diff) |
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r-- | emacs/.emacs.d/init/ycp-markup.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init/ycp-markup.el b/emacs/.emacs.d/init/ycp-markup.el index 548461d..f3d92d0 100644 --- a/emacs/.emacs.d/init/ycp-markup.el +++ b/emacs/.emacs.d/init/ycp-markup.el @@ -87,7 +87,12 @@ (require 'my-ledger) (my-keybind ledger-mode-map "M-<down>" #'my-ledger-move-xact-down - "M-<up>" #'my-ledger-move-xact-up)) + "M-<up>" #'my-ledger-move-xact-up + "C-c C-c" #'compile) + (add-to-list 'compilation-error-regexp-alist 'ledger) + (add-to-list 'compilation-error-regexp-alist-alist my-ledger-compilation-error-re) + (add-hook 'ledger-mode-hook 'my-ledger-set-compile-command) + ) ;;; todo: open epub in emacs client with nov (my-package nov |