Hi Should
(add-hook 'org-babel-post-tangle-hook (lambda () (save-window-excursion (find-file (buffer-file-name))))) work in .emacs? The purpose is simply opening the tangled file but I think the opening happens before the tangled file has finished of being written. I have tried (add-hook 'org-babel-post-tangle-hook (lambda () (save-window-excursion (find-file "anyfile")))) and no problem, but the first code does nothing, apparently. I am a beginner with elisp, so I beg your pardon. Miguel Ruiz. _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode