emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 74b8615 4/5: Adjust ob-tangle to new copy-file beha


From: Paul Eggert
Subject: [Emacs-diffs] master 74b8615 4/5: Adjust ob-tangle to new copy-file behavior
Date: Mon, 11 Sep 2017 01:31:30 -0400 (EDT)

branch: master
commit 74b8615fcceba7b92c4938e1bcc92015f10ae899
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Adjust ob-tangle to new copy-file behavior
    
    * lisp/org/ob-tangle.el (org-babel-tangle-publish):
    Port to new copy-file behavior.
---
 lisp/org/ob-tangle.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/org/ob-tangle.el b/lisp/org/ob-tangle.el
index 3b05332..2dc55ca 100644
--- a/lisp/org/ob-tangle.el
+++ b/lisp/org/ob-tangle.el
@@ -197,6 +197,7 @@ Return a list whose CAR is the tangled file name."
   "Tangle FILENAME and place the results in PUB-DIR."
   (unless (file-exists-p pub-dir)
     (make-directory pub-dir t))
+  (setq pub-dir (file-name-as-directory pub-dir))
   (mapc (lambda (el) (copy-file el pub-dir t)) (org-babel-tangle-file 
filename)))
 
 ;;;###autoload



reply via email to

[Prev in Thread] Current Thread [Next in Thread]