mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-26 19:32:53 +00:00
Bug fix.
This commit is contained in:
parent
e1ed8cf2e9
commit
4aa23cfb0c
|
@ -487,7 +487,7 @@ PUB-DIR is the publishing directory."
|
|||
(require 'org)
|
||||
(unless (file-exists-p pub-dir)
|
||||
(make-directory pub-dir t))
|
||||
(let* ((visiting (find-buffer-visiting))
|
||||
(let* ((visiting (find-buffer-visiting filename))
|
||||
(plist (cons :buffer-will-be-killed (cons t plist)))
|
||||
(init-buf (or visiting (find-file filename)))
|
||||
(init-point (point))
|
||||
|
|
Loading…
Reference in a new issue