[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/iedit efe98b2015 248/301: fix `iedit-mode-on-fuction probl
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/iedit efe98b2015 248/301: fix `iedit-mode-on-fuction problem |
Date: |
Mon, 10 Jan 2022 22:59:07 -0500 (EST) |
branch: elpa/iedit
commit efe98b201533627e0c830e3fa6f869b117b4072c
Author: victor <victorhge@gmail.com>
Commit: Victor <victorhge@gmail.com>
fix `iedit-mode-on-fuction problem
`mark-defun' behaves differently since Emacs 26.1. If the mark is active,
it
marks the next or previous defun(s) after the one(s) already marked
---
iedit.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/iedit.el b/iedit.el
index 49c9683df3..444c8f520a 100644
--- a/iedit.el
+++ b/iedit.el
@@ -388,6 +388,9 @@ Keymap used within overlays:
(when arg
(cond ((= 0 (prefix-numeric-value arg))
(save-excursion
+ ;; Since Emacs 26.1, `mark-defun' marks the next defun if the
+ ;; mark is active.
+ (deactivate-mark t)
(mark-defun)
(setq beg (region-beginning))
(setq end (region-end))))
- [nongnu] elpa/iedit b95c35107a 176/301: Merge branch 'master' of github.com:victorhge/iedit, (continued)
- [nongnu] elpa/iedit b95c35107a 176/301: Merge branch 'master' of github.com:victorhge/iedit, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 0d6193362d 144/301: Follow error convention, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit c2763baaf6 168/301: Do not enable iedit from a failing isearch, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 4e8b9453ac 261/301: Update occurrences in `post-command-hook', ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 3c305620ae 250/301: Optimize iedit-mode-from-isearch, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 85fad4a3b7 233/301: Merge pull request #73 from lionel-/feature-mode-line, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit a7f5ed7cf9 257/301: Turn off iedit-mode at running `iedit-mode-toggle-on-function` twice, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 5050b7e88e 260/301: Fix a failed test case when Emacs is compiled without GUI, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit afca4e6bbf 213/301: Rename hook functions, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 7ab2509231 225/301: Expand iedit-regexp-quote with passthrough, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit efe98b2015 248/301: fix `iedit-mode-on-fuction problem,
ELPA Syncer <=
- [nongnu] elpa/iedit 01fa1e5925 217/301: Fix error if sgml-electric-tag-pair-mode not bound, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit d7db0e5d19 279/301: Replace `iedit-lib-aborting-hook' with a callback function, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit dbf3f9a0e3 290/301: Add iedit-update-key-bindings, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 351bee5e0d 292/301: New iedit-record-changes, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 070775fb85 296/301: New feature: apply kmacro on occurrences, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 3c7159a107 298/301: Avoid calling `iedit-lib-cleanup` twice, ELPA Syncer, 2022/01/10