Skip to content

Commit

Permalink
Merge pull request weirdNox#62 from linj-fork/fix-load-path
Browse files Browse the repository at this point in the history
Remove trailing "/" when expand load-path
  • Loading branch information
petermao committed Aug 27, 2023
2 parents f38eca9 + 119fc45 commit 7f7ce19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org-noter.el
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
(declare-function org-entry-put "org")
(declare-function org-with-wide-buffer "org-macs")

(add-to-list 'load-path (concat (file-name-directory load-file-name) "modules/"))
(add-to-list 'load-path (concat (file-name-directory load-file-name) "modules"))
(when (or (memq 'doc-view-mode org-noter-supported-modes)
(memq 'pdf-view-mode org-noter-supported-modes))
(require 'org-noter-pdf))
Expand Down

0 comments on commit 7f7ce19

Please sign in to comment.