From 38d27c028a47f0923b30b5a9b921f3e92b3da635 Mon Sep 17 00:00:00 2001 From: Emil Senan <1826511+emilsenan@users.noreply.github.com> Date: Thu, 22 Feb 2024 22:23:03 +0100 Subject: [PATCH 1/2] Fixed small defect in configuration.org (#1) --- emacs/.config/emacs/configuration.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/.config/emacs/configuration.org b/emacs/.config/emacs/configuration.org index 86ce0211..78b1d2b4 100644 --- a/emacs/.config/emacs/configuration.org +++ b/emacs/.config/emacs/configuration.org @@ -1304,7 +1304,7 @@ I'm trying =vterm=. This disables =global-hl-line-mode= locally and lets me open :ensure-system-package (cmake ("/usr/share/doc/libvterm-dev" . libvterm-dev)) :commands (multi-vterm) - :hook (vterm-mode-hook . (lambda () (setq-local global-hl-line-mode nil)))) + :hook (vterm-mode . (lambda () (setq-local global-hl-line-mode nil)))) (global-set-key (kbd "C-c t") 'multi-vterm) #+end_src From c31100a7c1033bfb32422544a7f76fd3649321f2 Mon Sep 17 00:00:00 2001 From: Emil Senan <1826511+emilsenan@users.noreply.github.com> Date: Sat, 24 Feb 2024 23:47:48 +0100 Subject: [PATCH 2/2] Small fixes in configuration.org --- emacs/.config/emacs/configuration.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emacs/.config/emacs/configuration.org b/emacs/.config/emacs/configuration.org index 78b1d2b4..6c6e485d 100644 --- a/emacs/.config/emacs/configuration.org +++ b/emacs/.config/emacs/configuration.org @@ -974,7 +974,7 @@ Format code according to PEP8 on save: #+begin_src emacs-lisp (use-package py-autopep8 :after python-mode - :hook (elpy-mode-hook . py-autopep8-enable-on-save)) + :hook (elpy-mode-hook . py-autopep8-mode)) #+end_src ** Ruby @@ -1867,7 +1867,8 @@ I rarely write =LaTeX= directly any more, but I often export through it with =Or - Enable a minor mode for dealing with math (it adds a few useful keybindings), and always treat the current file as the "main" file. That's intentional, since I'm usually actually in an org document. #+begin_src emacs-lisp - (use-package auctex + (use-package tex + :ensure auctex :custom (TeX-parse-self t)