Mercurial > hg > xemacs-beta
diff lisp/rect.el @ 686:c82f9db998d7
[xemacs-hg @ 2001-12-03 18:02:47 by didierv]
etc/NEWS: advertise `C-x r p' (replace-rectangle) in global map.
rect.el, keydefs.el: autoload and bind `replace-rectangle' to `C-x r p'.
author | didierv |
---|---|
date | Mon, 03 Dec 2001 18:02:50 +0000 |
parents | 1ccc32a20af4 |
children | 308d34e9f07d |
line wrap: on
line diff
--- a/lisp/rect.el Mon Dec 03 17:17:26 2001 +0000 +++ b/lisp/rect.el Mon Dec 03 18:02:50 2001 +0000 @@ -310,6 +310,7 @@ (apply-on-rectangle 'string-rectangle-line start end string (and (boundp 'pending-delete-mode) pending-delete-mode))) +;;;###autoload (defun replace-rectangle (start end string) "Like `string-rectangle', but unconditionally replace the original region, as if `pending-delete-mode' were active."