Fix og--get-terms-oneshot for non-file path-spec
This commit is contained in:
parent
7a18d9d5ea
commit
02d7ae3c50
|
@ -379,7 +379,8 @@ TERM-GETTER will be called with three arguments: the term source, t, and `alread
|
|||
(mapcar
|
||||
(lambda (location)
|
||||
(org-glossary--parse-include-value
|
||||
location (file-name-directory (plist-get path-spec :file))))
|
||||
location (and (plist-get path-spec :file)
|
||||
(file-name-directory (plist-get path-spec :file)))))
|
||||
(org-element-map parse-tree 'keyword
|
||||
(lambda (kwd)
|
||||
(when (string= "INCLUDE" (org-element-property :key kwd))
|
||||
|
|
Loading…
Reference in New Issue