mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
fix lints
This commit is contained in:
2
Eldev
2
Eldev
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
(with-eval-after-load 'elisp-lint
|
(with-eval-after-load 'elisp-lint
|
||||||
;; We will byte-compile with Eldev.
|
;; We will byte-compile with Eldev.
|
||||||
(setf elisp-lint-ignored-validators '("package-lint" "fill-column" "byte-compile")
|
(setf elisp-lint-ignored-validators '("package-lint" "fill-column")
|
||||||
enable-local-variables :all))
|
enable-local-variables :all))
|
||||||
|
|
||||||
;; Teach linter how to properly indent emacsql vectors
|
;; Teach linter how to properly indent emacsql vectors
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
(declare-function org-roam-id-at-point "org-roam")
|
(declare-function org-roam-id-at-point "org-roam")
|
||||||
(declare-function org-roam--org-roam-file-p "org-roam")
|
(declare-function org-roam--org-roam-file-p "org-roam")
|
||||||
(declare-function org-roam--list-all-files "org-roam")
|
(declare-function org-roam--list-all-files "org-roam")
|
||||||
(declare-function org-roam-node-at-point "org-roam-node")
|
(declare-function org-roam-node-at-point "org-roam")
|
||||||
|
|
||||||
;;;; Options
|
;;;; Options
|
||||||
(defcustom org-roam-db-location (expand-file-name "org-roam.db" user-emacs-directory)
|
(defcustom org-roam-db-location (expand-file-name "org-roam.db" user-emacs-directory)
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
(defvar org-roam-find-file-hook)
|
(defvar org-roam-find-file-hook)
|
||||||
|
|
||||||
(declare-function org-roam--org-file-p "org-roam")
|
(declare-function org-roam--org-file-p "org-roam")
|
||||||
(declare-function org-roam-node-at-point "org-roam-node")
|
(declare-function org-roam-node-at-point "org-roam")
|
||||||
|
|
||||||
;;; Faces
|
;;; Faces
|
||||||
(defface org-roam-header-line
|
(defface org-roam-header-line
|
||||||
|
@ -953,7 +953,8 @@ References from FILE are excluded."
|
|||||||
(truncate-string-to-width (file-name-base f) 15 nil nil "...")
|
(truncate-string-to-width (file-name-base f) 15 nil nil "...")
|
||||||
row col) 'font-lock-face 'org-roam-dim)
|
row col) 'font-lock-face 'org-roam-dim)
|
||||||
" "
|
" "
|
||||||
(org-roam-fontify-like-in-org-mode (org-roam-unlinked-references-preview-line f row))
|
(org-roam-fontify-like-in-org-mode
|
||||||
|
(org-roam-unlinked-references-preview-line f row))
|
||||||
"\n"))))))
|
"\n"))))))
|
||||||
(insert ?\n)))))
|
(insert ?\n)))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user