bir-core.el 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. ;;; bir-core.el --- Core functions of bir -*- lexical-binding: t; -*-
  2. ;; Copyright (C) 2021 c1-g
  3. ;; Author: c1-g <char1iegordon@protonmail.com>
  4. ;; Keywords: internal
  5. ;; This program is free software; you can redistribute it and/or modify
  6. ;; it under the terms of the GNU General Public License as published by
  7. ;; the Free Software Foundation, either version 3 of the License, or
  8. ;; (at your option) any later version.
  9. ;; This program is distributed in the hope that it will be useful,
  10. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ;; GNU General Public License for more details.
  13. ;; You should have received a copy of the GNU General Public License
  14. ;; along with this program. If not, see <https://www.gnu.org/licenses/>.
  15. ;;; Commentary:
  16. ;;
  17. ;;; Code:
  18. (require 'org-roam)
  19. ;;; Customization
  20. (defgroup bir nil
  21. "Bastardized Incremental Reading in Emacs."
  22. :group 'external)
  23. (defcustom bir-directory (expand-file-name "bir/" org-roam-directory)
  24. "TODO"
  25. :type 'string
  26. :group 'bir)
  27. (defcustom bir-source-property "SOURCE"
  28. "TODO"
  29. :type 'string
  30. :group 'bir)
  31. (defcustom bir-article-property "ARTICLE"
  32. "TODO"
  33. :type 'string
  34. :group 'bir)
  35. (defcustom bir-parent-property "PARENT"
  36. ""
  37. :type 'string
  38. :group 'bir)
  39. (add-to-list 'org-fc-directories bir-directory)
  40. (provide 'bir-core)
  41. ;;; bir-core.el ends here