[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/edit-indirect 97215298e3 1/2: Use the end marker when invo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/edit-indirect 97215298e3 1/2: Use the end marker when invoking after commit functions |
Date: |
Sat, 27 Jan 2024 21:59:34 -0500 (EST) |
branch: elpa/edit-indirect
commit 97215298e3d8ca32fc06f6ac8132d2ef1c3d52ef
Author: Fanael Linithien <fanael4@gmail.com>
Commit: Fanael Linithien <fanael4@gmail.com>
Use the end marker when invoking after commit functions
Fixes #27.
---
edit-indirect.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/edit-indirect.el b/edit-indirect.el
index cbb17dd2b7..ac0eb4f970 100644
--- a/edit-indirect.el
+++ b/edit-indirect.el
@@ -2,7 +2,7 @@
;; Author: Fanael Linithien <fanael4@gmail.com>
;; URL: https://github.com/Fanael/edit-indirect
-;; Version: 0.1.11
+;; Version: 0.1.12
;; Package-Requires: ((emacs "24.3"))
;; This file is NOT part of GNU Emacs.
@@ -375,7 +375,7 @@ No error is signaled if `inhibit-read-only' or
(unless (string= new-data (match-string 0))
(replace-match new-data t t))))
(edit-indirect--run-hook-with-positions
- 'edit-indirect-after-commit-functions beg-marker (point))
+ 'edit-indirect-after-commit-functions beg-marker end-marker)
(set-marker beg-marker nil)
(set-marker end-marker nil))))
(set-buffer-modified-p nil)))