branch: externals/objed
commit 1c152a10dc02b2d55159040b323cdae8378a2fe5
Author: Clemens Radermacher <[email protected]>
Commit: Clemens Radermacher <[email protected]>
Fix mc/num-cursors undefined when mc not loaded
---
objed.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/objed.el b/objed.el
index d0e982b..9f035c7 100644
--- a/objed.el
+++ b/objed.el
@@ -3737,7 +3737,7 @@ and RANGE hold the object position data."
(cond ((eq 'keep exit)
(ignore))
((eq 'mc exit)
- (when (boundp 'multiple-cursors-mode)
+ (when (fboundp 'multiple-cursors-mode)
(if (> (mc/num-cursors) 1)
(run-at-time 0 nil 'multiple-cursors-mode)
(multiple-cursors-mode 0)))