Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
masasam committed Sep 28, 2022
1 parent bac82a3 commit 31e2f6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easy-hugo.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

;; Author: Masashi Miyaura
;; URL: https://github.com/masasam/emacs-easy-hugo
;; Version: 3.9.56
;; Version: 3.9.57
;; Package-Requires: ((emacs "25.1") (popup "0.5.3") (request "0.3.0") (transient "0.3.6"))

;; This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -2400,7 +2400,7 @@ output directories whose names match REGEXP."
(easy-hugo-with-env
(unless (file-directory-p (expand-file-name easy-hugo-postdir easy-hugo-basedir))
(error "%s%s does not exist!" easy-hugo-basedir easy-hugo-postdir))
(when (> 0.25 (easy-hugo--version))
(when (version< (number-to-string (easy-hugo--version)) "0.25")
(message "Please install hugo 0.25 or higher version."))
(setq easy-hugo--mode-buffer (get-buffer-create easy-hugo--buffer-name))
(setq easy-hugo--draft-list nil)
Expand Down

0 comments on commit 31e2f6d

Please sign in to comment.