Remove f.el references

This commit is contained in:
Henrik Lissner
2017-02-25 02:11:24 -05:00
parent 7ed243a398
commit a0305418ae
6 changed files with 15 additions and 14 deletions

View File

@@ -31,7 +31,7 @@
;; Write download paths relative to current file
(advice-add 'org-download--dir-2 :override 'ignore)
(defun +org*download-fullname (path)
(file-relative-name path (f-dirname (buffer-file-name))))
(file-relative-name path (file-name-directory (buffer-file-name))))
(advice-add 'org-download--fullname :filter-return '+org*download-fullname)
;; Add another drag-and-drop handler that will handle anything but image files