[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/multiple-cursors cb93501 432/434: Minor backward compatibi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/multiple-cursors cb93501 432/434: Minor backward compatibility fix to remove warning |
Date: |
Sat, 7 Aug 2021 09:21:15 -0400 (EDT) |
branch: elpa/multiple-cursors
commit cb93501ec7978d0eba2df8d75723192d2449880f
Author: Vedang Manerikar <ved.manerikar@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>
Minor backward compatibility fix to remove warning
This removes the deprecation warning around `return-from'
---
mc-cycle-cursors.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/mc-cycle-cursors.el b/mc-cycle-cursors.el
index 85af352..08178eb 100644
--- a/mc-cycle-cursors.el
+++ b/mc-cycle-cursors.el
@@ -88,7 +88,11 @@
(cl-defun mc/cycle (next-cursor fallback-cursor loop-message)
(when (null next-cursor)
(when (eql 'stop (mc/handle-loop-condition loop-message))
- (return-from mc/cycle nil))
+ (cond
+ ((fboundp 'cl-return-from)
+ (cl-return-from mc/cycle nil))
+ ((fboundp 'return-from)
+ (return-from mc/cycle nil))))
(setf next-cursor fallback-cursor))
(mc/create-fake-cursor-at-point)
(mc/pop-state-from-overlay next-cursor)
- [nongnu] elpa/multiple-cursors 97da977 141/434: Intercept some reading commands, (continued)
- [nongnu] elpa/multiple-cursors 97da977 141/434: Intercept some reading commands, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors da069c8 366/434: Merge pull request #236 from jtamagnan/insert_letters_fix, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 432a3fc 370/434: Merge pull request #250 from nispio/mark-lines-allows-skip, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors a508978 376/434: Add /.ecukes-failing-scenarios to gitignore, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors d9a6047 384/434: Fix mc/cursor-is-bar as per @cpitclaudel, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors c945665 399/434: Merge pull request #294 from nispio/fix-293, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors eba1020 409/434: Add temporary-goal-column to mc/cursor-specific-vars, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 35ff8b5 412/434: Add customization group definition, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors a730c41 423/434: Update README.md, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 5ffb19a 424/434: Update README.md, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors cb93501 432/434: Minor backward compatibility fix to remove warning,
ELPA Syncer <=
- [nongnu] elpa/multiple-cursors f4d5aea 147/434: Sort before saving list in mc/save-lists, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors bb546b1 166/434: Display number of cursors in mode-line, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 796fb64 165/434: Added segv to contributors list, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors a6e0ccb 215/434: mc/add-cursor-on-click should not run per cursor, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 717c97e 181/434: Added Fuco to list of contributors, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors f721308 179/434: Tweak mc/mark-all-like-this-dwim and add tests, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 5190e0c 206/434: Add test case for shift-select-mode, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 07b8808 195/434: Merge pull request #43 from purcell/travis-script, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 373dcbe 218/434: Add a scenario for mc/mark-all-symbols-like-this, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 8b91e47 231/434: Add py-electric-backspace to run-for-all list, ELPA Syncer, 2021/08/07