This commit is contained in:
Carsten Dominik 2008-09-07 18:30:50 +02:00
parent e1ed8cf2e9
commit 4aa23cfb0c
1 changed files with 1 additions and 1 deletions

View File

@ -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))