aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-06-26 16:02:49 +1000
committerYuchen Pei <id@ypei.org>2023-06-26 16:02:49 +1000
commit30b349d43c1483c7608a020460b535cc0fb29ec1 (patch)
tree1469932c9d4f8cbb18593bcb4b48b3910b191075 /emacs/.emacs.d/init
parentea1e815c3dc1781aa5cb6d401e233c73fa8a108b (diff)
Adding license files and updating readmes
* COPYING.agpl3: agpl3 license file * README.org: added readme for the repo * emacs/.emacs.d/init/ycp-editing.el: fix hook names * emacs/.emacs.d/init/ycp-project.el: include `my-licenses' in local-config * emacs/.emacs.d/lisp/my/my-editing.el: fix insert pair prompt * emacs/README.org: Move acknowledgement to the main readme; fix verbatim to code. Add instruction on local-config generation * manual/README.org: minor change
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r--emacs/.emacs.d/init/ycp-editing.el2
-rw-r--r--emacs/.emacs.d/init/ycp-project.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init/ycp-editing.el b/emacs/.emacs.d/init/ycp-editing.el
index 7af3587..4bdeb32 100644
--- a/emacs/.emacs.d/init/ycp-editing.el
+++ b/emacs/.emacs.d/init/ycp-editing.el
@@ -132,7 +132,7 @@
(add-hook 'text-mode-hook #'turn-on-auto-fill)
-(my-add-hooks #'my-non-special-modes-setup '(text-mode prog-mode))
+(my-add-hooks #'my-non-special-modes-setup '(text-mode-hook prog-mode-hook))
(add-to-list
'auto-mode-alist
diff --git a/emacs/.emacs.d/init/ycp-project.el b/emacs/.emacs.d/init/ycp-project.el
index 15c7fcc..d4c7dd9 100644
--- a/emacs/.emacs.d/init/ycp-project.el
+++ b/emacs/.emacs.d/init/ycp-project.el
@@ -29,7 +29,7 @@
(my-package my-project
(:delay 30)
- (my-setq-from-local my-projects-root-dirs)
+ (my-setq-from-local my-projects-root-dirs my-licenses)
(my-keybind global-map
"\C-xpl" #'my-project-copy-license-file-to-project
"\C-xpS" #'my-project-shell-at