]> git.earman.xyz Git - emacsinit.git/commitdiff
Only set templates when defined
authorrush <rush@Thonkbook.com>
Sat, 9 Aug 2025 01:03:26 +0000 (21:03 -0400)
committerrush <rush@Thonkbook.com>
Sat, 9 Aug 2025 01:03:26 +0000 (21:03 -0400)
re/re-packages.el

index 48d46037e8fb359b75d65b4a697ad90267a5d42a..145b65fc2daef18b0036afe379068244006c080e 100644 (file)
   (setq howm-template-list '("= %title%cursor\n%date %file\n\n"
                             "= %title%cursor\n%date %file\n\nSystemNotes\nBeforeStartup\nPlcProgram\nHumanMachineInterface\nDuringStartup\nAfterStartup\n"
                             "= %title%cursor\n%date %file\n\nMeeting Attendees: \n"
-                            "= @%title%cursor\n%date %file\n\nCompany: \nPosition: \nEmail: \nOffice: \nCell: \n")))
+                            "= @%title%cursor\n%date %file\n\nCompany: \nPosition: \nEmail: \nOffice: \nCell: \n")
+       howm-template howm-template-list))
 
 (use-package howm
   :ensure
        howm-history-file (expand-file-name ".howm-history"
                                            howm-home-directory)
        howm-keyword-case-fold-search t
-       howm-remember-insertion-format "%s"
-       howm-template howm-template-list)
+       howm-remember-insertion-format "%s")
   (add-hook 'after-save-hook 'howm-mode-set-buffer-name)
   (add-hook 'howm-mode-hook 'howm-mode-set-buffer-name))