mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-01 08:17:34 +00:00
Fix don't load symlinks (Emacs interlocking files) * testing/org-test.el: During test development various interlocking files may be present in testing/lisp directory (since they are being edited by emacs). Currently org-test-load will attempt to load these
This commit is contained in:
parent
0cc18ed120
commit
49d6951caa
@ -276,8 +276,9 @@ otherwise place the point at the beginning of the inserted text."
|
||||
(if (file-directory-p path)
|
||||
(rld path)
|
||||
(catch 'missing-test-dependency
|
||||
(when (string-match "^[A-Za-z].*\\.el$" path)
|
||||
load-file path))))
|
||||
(when (string-match "^[A-Za-z].*\\.el$"
|
||||
(file-name-nondirectory path))
|
||||
(load-file path)))))
|
||||
(directory-files base 'full
|
||||
"^\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*\\.el$"))))
|
||||
(rld (expand-file-name "lisp" org-test-dir))
|
||||
|
Loading…
Reference in New Issue
Block a user