From 573856adb4bb7a303f209f9d2463032c07968b3c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 12 Feb 2026 16:42:33 -0800 Subject: [PATCH] emacs: guard org-mode yasnippet disable hook --- dotfiles/emacs.d/org-config.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/org-config.org b/dotfiles/emacs.d/org-config.org index f5fca237..e625beb7 100644 --- a/dotfiles/emacs.d/org-config.org +++ b/dotfiles/emacs.d/org-config.org @@ -799,7 +799,8 @@ This block is part of the runtime config. It is tangled via the default :config (progn (defun imalison:disable-yas () - (yas-minor-mode -1)) + (when (fboundp 'yas-minor-mode) + (yas-minor-mode -1))) (add-hook 'org-mode-hook 'imalison:disable-yas))) #+END_SRC ** Set Background Color of Source Blocks for Export