Skip to content

Commit

Permalink
Fix bug in response processing & increase Emacs version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
daedsidog committed Sep 3, 2024
1 parent 1da3f73 commit d18f503
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions evedel.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;; Author: daedsidog <contact@daedsidog.com>
;; Version: 0.0.1
;; Keywords: convenience, tools
;; Package-Requires: ((emacs "27.1") (gptel "0.9.0"))
;; Package-Requires: ((emacs "28.1") (gptel "0.9.0"))
;; URL: https://github.com/daedsidog/evedel

;; SPDX-License-Identifier: GPL-3.0-or-later
Expand Down Expand Up @@ -447,7 +447,6 @@ the current buffer."
(mark-failed response)
(let ((parsed-response (match-string 1 response)))
(overlay-put directive 'e-directive-status :succeeded)
(overlay-put 'evaporate t)
(with-current-buffer (overlay-buffer directive)
(let ((beg (overlay-start directive))
(end (overlay-end directive)))
Expand All @@ -468,7 +467,8 @@ the current buffer."
(goto-char (1+ beg))
(backward-delete-char 1)
(unless (eq indent-line-function #'indent-relative)
(indent-region beg end))))))))))
(indent-region beg end)))
(overlay-put directive 'evaporate t))))))))
(e--update-instruction-overlay directive t)))

(defun e--referencep (instruction)
Expand Down

0 comments on commit d18f503

Please sign in to comment.