fix(org-noter): compat shim for dired-read-dir-and-switches on Emacs 31
This commit is contained in:
@@ -1230,6 +1230,11 @@ Otherwise: runs interactive ement-connect, then opens rooms after sync."
|
||||
;;; ORG-NOTER — PDF annotations
|
||||
;;; ============================================================
|
||||
|
||||
;; Emacs 31 may not autoload dired-read-dir-and-switches early enough,
|
||||
;; causing "Symbol's function definition is void" when org-noter starts.
|
||||
;; Ensure dired is loaded so all its internal functions are available.
|
||||
(require 'dired)
|
||||
|
||||
(use-package! org-noter
|
||||
:after (:any org pdf-view)
|
||||
:config
|
||||
|
||||
Reference in New Issue
Block a user