Commit ad9de65b authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(cua--pre-command-handler): Corrected

handling of delete-selection properties.
parent 821adeae
......@@ -977,12 +977,12 @@ Extra commands should be added to `cua-user-movement-commands'")
'cua-copy-region))
((eq ds 'supersede)
(if cua--rectangle
'cua-delete-rectangle ;; replace?
'cua-replace-region))
'cua-delete-rectangle
'cua-delete-region))
(t
(if cua--rectangle
'cua-delete-rectangle
'cua-delete-region)))))
'cua-delete-rectangle ;; replace?
'cua-replace-region)))))
(if nc
(setq this-original-command this-command
this-command nc)))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment