Skip to content

Commit

Permalink
changing baseprogram location to user emacs dir
Browse files Browse the repository at this point in the history
  • Loading branch information
zot committed Dec 28, 2020
1 parent f38bc50 commit cc217dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions elisp/org-fts.el
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@
(windows-nt . "microfts.exe")))

(defconst org-fts/baseprogram
(let ((entry (cadr (assoc 'org-fts package-alist)))
(name (cdr (assoc system-type org-fts/baseprogram-alist))))
(and entry (format "%s/%s" (package-desc-dir entry) name))))
(let ((name (cdr (assoc system-type org-fts/baseprogram-alist))))
(format "%s%s" user-emacs-directory name)))

(defcustom org-fts/program nil
"Name or path for microfts program"
Expand Down

0 comments on commit cc217dc

Please sign in to comment.