Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
use deactivate-mark instead of (set-mark nil) #19
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
victorhge
Aug 31, 2012
Owner
There is another " (set-mark nil) " in iedit.el. Please replace it also.
There is another " (set-mark nil) " in iedit.el. Please replace it also. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
victorhge
Aug 31, 2012
Owner
What is expected here actually is
(setq mark-active nil)
(run-hooks 'deactivate-mark-hook)
Neither "deactivate-mark" nor "(set-mark nil)" works in all situation.
I will fix it by myself.
The closest is "(deactivate-mark t)". But it is not available in Emacs 22.
What is expected here actually is I will fix it by myself. The closest is "(deactivate-mark t)". But it is not available in Emacs 22. |
lewang commentedAug 30, 2012
setting the mark to nil broke C-SPC C-SPC for me.