Skip to content

Commit

Permalink
Template for local configs
Browse files Browse the repository at this point in the history
  • Loading branch information
regob committed Oct 8, 2024
1 parent a66800c commit bd14fa8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lisp/init-local.template.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
;;; init-local.template.el --- Template for customizations in init-local.el -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:

(defun rb-init-misc-local ()
(setq org-agenda-files (directory-files-recursively "/home/rego/devel/scratches/" "^\\(\\w\\|[-_.]\\)+\\.org$"))
(push `("d" "diary" entry (file+olp+datetree "diary_file")
(function (lambda () "")))
org-capture-templates)
(setq org-default-notes-file "refile.org")
)

(add-hook 'elpaca-after-init-hook 'rb-init-misc-local)

(provide 'init-local.template)

;;; init-local.template.el ends here

0 comments on commit bd14fa8

Please sign in to comment.