Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/mark.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
(define-key *global-keymap* "C-x C-x" 'exchange-point-mark)
(define-key *global-keymap* "C-x h" 'mark-set-whole-buffer)

(define-command mark-set (p) (:universal-nil)
(define-command (mark-set (:advice-classes editable-advice)) (p) (:universal-nil)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is redundant: mark-set already has an execute :around doing process-each-cursors at line 38-41, and editable-advice adds the same wrapper — so this nests two process-each-cursors passes. In a headless test it didn't change the multicursor result (still crashes in the per-cursor (message "Mark set") below).

"Sets a mark at the current cursor position."
(if p
(move-point (current-point) (pop-buffer-point))
Expand Down
Loading