I get an Error (org-mode-hook): Error running hook "org-fancy-priorities-mode" because: (end-of-buffer)
when clicking on a org-ref cite:
link after the ROAM_REFS
header.
cite:
links elsewhere in the .org
document works as expected, opening up a menu to choose from.
Wonder what is the cause of the error?
Debug Trace:
Debugger entered--Lisp error: (doom-hook-error org-fancy-priorities-mode (end-of-buffer))
signal(doom-hook-error (org-fancy-priorities-mode (end-of-buffer)))
(condition-case e (funcall hook) ((debug error) (signal 'doom-hook-error (list hook e))))
doom-run-hook(org-fancy-priorities-mode)
run-hook-wrapped(doom-run-hook org-fancy-priorities-mode)
(condition-case e (run-hook-wrapped hook #'doom-run-hook) ((debug doom-hook-error) (if debug-on-error nil (lwarn hook :error "Error running hook %S because: %s" (if (symbolp (car (cdr e))) (symbol-name (car (cdr e))) (car (cdr e))) (car (cdr (cdr e))))) (signal 'doom-hook-error (cons hook (cdr e)))))
(let ((hook (car --dolist-tail--))) (condition-case e (run-hook-wrapped hook #'doom-run-hook) ((debug doom-hook-error) (if debug-on-error nil (lwarn hook :error "Error running hook %S because: %s" (if (symbolp (car ...)) (symbol-name (car ...)) (car (cdr e))) (car (cdr (cdr e))))) (signal 'doom-hook-error (cons hook (cdr e))))) (setq --dolist-tail-- (cdr --dolist-tail--)))
(while --dolist-tail-- (let ((hook (car --dolist-tail--))) (condition-case e (run-hook-wrapped hook #'doom-run-hook) ((debug doom-hook-error) (if debug-on-error nil (lwarn hook :error "Error running hook %S because: %s" (if (symbolp ...) (symbol-name ...) (car ...)) (car (cdr ...)))) (signal 'doom-hook-error (cons hook (cdr e))))) (setq --dolist-tail-- (cdr --dolist-tail--))))
(let ((--dolist-tail-- hooks)) (while --dolist-tail-- (let ((hook (car --dolist-tail--))) (condition-case e (run-hook-wrapped hook #'doom-run-hook) ((debug doom-hook-error) (if debug-on-error nil (lwarn hook :error "Error running hook %S because: %s" (if ... ... ...) (car ...))) (signal 'doom-hook-error (cons hook (cdr e))))) (setq --dolist-tail-- (cdr --dolist-tail--)))))
doom-run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook)
apply(doom-run-hooks (change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook))
run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook)
apply(run-hooks (change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook))
run-mode-hooks(org-mode-hook)
org-mode()
org-link-open-from-string("cite:林素英_郭店服喪思想_2003")
org-open-at-point-global()
funcall-interactively(org-open-at-point-global)
call-interactively(org-open-at-point-global)
org-open-at-point()
org-open-at-mouse((mouse-2 (#<window 16 on 林素英_郭店服喪思想_2003.org> 85 (436 . 68) 189552908 nil 85 (28 . 2) nil (7 . 14) (26 . 34))))
funcall-interactively(org-open-at-mouse (mouse-2 (#<window 16 on 林素英_郭店服喪思想_2003.org> 85 (436 . 68) 189552908 nil 85 (28 . 2) nil (7 . 14) (26 . 34))))
call-interactively(org-open-at-mouse nil nil)
command-execute(org-open-at-mouse)