Dear all,
I'm managing my dotEmacs in an org file which is tangled and byte-compiled 
using a small function

------------------------------
(defun mh-generate-dot-and-byte-comp ()
(interactive)
"Tangle current buffer and generate the dot emacs which is byte compiled"
(with-current-buffer "dotEmacs.org" (org-babel-tangle))
(byte-compile-file "~/.emacs.el"))
--------------------------------

I'm asking is there any way to switch, in case of error or warning,  from
the Compilation Log file to the original org-mode file (dotEmacs.org)
instead of .emacs.el. 

Thanks,
Mohamed 





Reply via email to