packages/excorporate: Interoperate with LaTeX preview
authorThomas Fitzsimmons <fitzsim@fitzsim.org>
Wed, 15 Jun 2016 02:07:54 +0000 (22:07 -0400)
committerThomas Fitzsimmons <fitzsim@fitzsim.org>
Wed, 15 Jun 2016 02:07:54 +0000 (22:07 -0400)
* 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

index a06057a..05d11fb 100644 (file)
@@ -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)