mirror of
https://github.com/org-roam/org-roam
synced 2025-08-07 12:47:23 -05:00
simplify: remove unused things
This commit is contained in:
@ -39,7 +39,6 @@
|
|||||||
(require 'cl-lib)
|
(require 'cl-lib)
|
||||||
|
|
||||||
;; Declarations
|
;; Declarations
|
||||||
(defvar org-roam-encrypt-files)
|
|
||||||
(defvar org-roam-directory)
|
(defvar org-roam-directory)
|
||||||
(defvar org-roam-title-to-slug-function)
|
(defvar org-roam-title-to-slug-function)
|
||||||
|
|
||||||
|
13
org-roam.el
13
org-roam.el
@ -85,11 +85,6 @@ All Org files, at any level of nesting, are considered part of the Org-roam."
|
|||||||
:type 'directory
|
:type 'directory
|
||||||
:group 'org-roam)
|
:group 'org-roam)
|
||||||
|
|
||||||
(defcustom org-roam-encrypt-files nil
|
|
||||||
"Whether to encrypt new files. If true, create files with .gpg extension."
|
|
||||||
:type 'boolean
|
|
||||||
:group 'org-roam)
|
|
||||||
|
|
||||||
(defcustom org-roam-file-extensions '("org")
|
(defcustom org-roam-file-extensions '("org")
|
||||||
"Detected file extensions to include in the Org-roam ecosystem.
|
"Detected file extensions to include in the Org-roam ecosystem.
|
||||||
The first item in the list is used as the default file extension.
|
The first item in the list is used as the default file extension.
|
||||||
@ -144,14 +139,6 @@ Function should return a filename string based on title."
|
|||||||
:type 'boolean
|
:type 'boolean
|
||||||
:group 'org-roam)
|
:group 'org-roam)
|
||||||
|
|
||||||
;;;; Faces
|
|
||||||
(defface org-roam-shielded
|
|
||||||
'((t :inherit (warning org-link)))
|
|
||||||
"Face for Org-roam links that are shielded.
|
|
||||||
This face is used on the region target by `org-roam-insertion'
|
|
||||||
during an `org-roam-capture'."
|
|
||||||
:group 'org-roam-faces)
|
|
||||||
|
|
||||||
;;;; ID Utilities
|
;;;; ID Utilities
|
||||||
(defun org-roam-id-at-point ()
|
(defun org-roam-id-at-point ()
|
||||||
"Return the ID at point, if any.
|
"Return the ID at point, if any.
|
||||||
|
Reference in New Issue
Block a user