summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-09-30 23:24:02 -0600
committerEric Schulte <schulte.eric@gmail.com>2010-09-30 23:24:02 -0600
commitc4916bb743a3ded8feab18417c9587238e977178 (patch)
tree9b0def92895136145e51d476745cb56376ba5aa0
parent67ef871821e6c343e9a99fccc574fc7126b4c87f (diff)
downloadorg-mode-c4916bb743a3ded8feab18417c9587238e977178.tar.gz
now sharing the file name in the tangling message
* lisp/ob-tangle.el (org-babel-tangle): now sharing the file name in the tangling message
-rw-r--r--lisp/ob-tangle.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el
index 88a6a56..a9429c4 100644
--- a/lisp/ob-tangle.el
+++ b/lisp/ob-tangle.el
@@ -228,8 +228,9 @@ exported source code blocks by language."
(add-to-list 'path-collector file-name)))))
specs)))
(org-babel-tangle-collect-blocks lang))
- (message "tangled %d code block%s" block-counter
- (if (= block-counter 1) "" "s"))
+ (message "tangled %d code block%s from %s" block-counter
+ (if (= block-counter 1) "" "s")
+ (file-name-nondirectory (buffer-file-name (current-buffer))))
;; run `org-babel-post-tangle-hook' in all tangled files
(when org-babel-post-tangle-hook
(mapc