branch: master
commit 55f563d8c9845cb0993b06edfb6b4ec4a4975b4a
Author: Thomas Fitzsimmons <fitz...@fitzsim.org>
Commit: Thomas Fitzsimmons <fitz...@fitzsim.org>

    packages/excorporate: Interoperate with LaTeX preview
    
    * packages/excorporate/excorporate-org.el
    (exco-org-initialize-buffer): Set buffer-file-name to
    excorporate-org-buffer-name (bug#23765).
---
 packages/excorporate/excorporate-org.el |    1 +
 1 file changed, 1 insertion(+)

diff --git a/packages/excorporate/excorporate-org.el 
b/packages/excorporate/excorporate-org.el
index a06057a..05d11fb 100644
--- a/packages/excorporate/excorporate-org.el
+++ b/packages/excorporate/excorporate-org.el
@@ -34,6 +34,7 @@
   "Add initial text to the destination buffer."
   (with-current-buffer (get-buffer-create excorporate-org-buffer-name)
       (setq buffer-read-only t)
+      (setq buffer-file-name excorporate-org-buffer-name)
       (org-mode)
       (use-local-map (copy-keymap org-mode-map))
       (local-set-key "q" 'quit-window)

Reply via email to