;; Maintainer: Eshel Yaron <me@eshelyaron.com>
;; Keywords: languages extensions
;; URL: http://git.eshelyaron.com/gitweb/?p=esy-publish.git
-;; Package-Version: 0.9.0
+;; Package-Version: 0.10.0
;; Package-Requires: ((emacs "28.2"))
;; This file is NOT part of GNU Emacs.
(org-publish "all" force)
(dolist (buffer (seq-difference esy-publish--buffers
initial-buffers))
- (with-current-buffer buffer
- (set-buffer-modified-p nil))
- (kill-buffer buffer)))
+ (when (buffer-live-p buffer)
+ (with-current-buffer buffer
+ (set-buffer-modified-p nil))
+ (kill-buffer buffer))))
(setq esy-publish--buffers nil))
(defun esy-publish-all ()