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 New Issue