emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/multiple-cursors 817a7a8d25 4/5: Fix problem aborting mc/e


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 817a7a8d25 4/5: Fix problem aborting mc/edit-lines when not in transient-mark-mode
Date: Fri, 23 Dec 2022 10:59:24 -0500 (EST)

branch: elpa/multiple-cursors
commit 817a7a8d255150965c716791b4c3d1c9046f070c
Author: Leo Gaskin <leo.gaskin@le0.gs>
Commit: Magnar Sveen <magnars@gmail.com>

    Fix problem aborting mc/edit-lines when not in transient-mark-mode
---
 mc-edit-lines.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mc-edit-lines.el b/mc-edit-lines.el
index 55772afa9e..33e7df24aa 100644
--- a/mc-edit-lines.el
+++ b/mc-edit-lines.el
@@ -50,7 +50,7 @@ that symbol is used instead of `mc/edit-lines-empty-lines'.
 Otherwise, if ARG negative, short lines will be ignored.  Any
 other non-nil value will cause short lines to be padded."
   (interactive "P")
-  (when (not (and mark-active (/= (point) (mark))))
+  (unless mark-active
     (error "Mark a set of lines first"))
   (mc/remove-fake-cursors)
   (let* ((col (current-column))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]