From c8e22f94fc0fbbb4568b382e6e3ce593a99ad914 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 14 Aug 2023 18:04:29 +1000 Subject: [emacs] Some minor tweaks --- emacs/.emacs.d/init/ycp-editing.el | 2 +- emacs/.emacs.d/init/ycp-org.el | 1 + emacs/.emacs.d/init/ycp-prog.el | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/init') diff --git a/emacs/.emacs.d/init/ycp-editing.el b/emacs/.emacs.d/init/ycp-editing.el index ce850a0..f440e49 100644 --- a/emacs/.emacs.d/init/ycp-editing.el +++ b/emacs/.emacs.d/init/ycp-editing.el @@ -102,7 +102,7 @@ (my-package aggressive-indent (:install t) (:delay 15) - (add-hook 'emacs-lisp-mode-hook #'aggressive-indent-mode)) + (my-add-hooks #'aggressive-indent-mode '(emacs-lisp-mode-hook lisp-mode-hook))) (my-package avy (:install t) diff --git a/emacs/.emacs.d/init/ycp-org.el b/emacs/.emacs.d/init/ycp-org.el index e57466a..8c195a9 100644 --- a/emacs/.emacs.d/init/ycp-org.el +++ b/emacs/.emacs.d/init/ycp-org.el @@ -43,6 +43,7 @@ (my-keybind org-mode-map "C-a" #'my-org-beginning-of-line-or-indent "C-k" #'my-org-kill-line + "M-k" #'my-org-kill-line-backwards "M-l" #'org-insert-last-stored-link "M-n" #'org-next-link "M-p" #'org-previous-link diff --git a/emacs/.emacs.d/init/ycp-prog.el b/emacs/.emacs.d/init/ycp-prog.el index 193ea54..7dc2f92 100644 --- a/emacs/.emacs.d/init/ycp-prog.el +++ b/emacs/.emacs.d/init/ycp-prog.el @@ -234,6 +234,9 @@ "C-M-x" #'my-eval-defun-or-region) ) +(my-package inf-lisp + (setq inferior-lisp-program "clisp")) + (my-package data-debug (:delay 10) (my-keybind global-map -- cgit v1.2.3