]> code.delx.au - gnu-emacs-elpa/commitdiff
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 a06057a13f9fa14f72b4174bde21ca8b3a81224a..05d11fb60bdfd7aa88ba2d820c5db8b96e4b7469 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)