• Chong Yidong's avatar
    Deactivate the mark on more copy operations, and indicate the copied region. · 2549c068
    Chong Yidong authored
    * lisp/simple.el (indicate-copied-region): New function.
    (kill-ring-save): Split off from here.
    * lisp/rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
    (kill-rectangle): Set deactivate-mark to t on read-only error.
    * lisp/register.el (copy-to-register, copy-rectangle-to-register):
    Deactivate the mark, and use indicate-copied-region.
    (append-to-register, prepend-to-register): Call
    Fixes: debbugs:10056
rect.el 14.8 KB