diff options
author | Glenn Morris <rgm@gnu.org> | 2014-07-08 19:04:12 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-07-08 19:04:12 -0700 |
commit | 5613a6f6d52bca0018c5777aba67a99f51016a35 (patch) | |
tree | c070100c79442ae2f9876f82af4eeebadc39249c /lisp/emulation | |
parent | 27e81f9f4e368176a3b17ceeadd2e0aa5dd9d1ed (diff) | |
parent | d8899d09b992d733dc1cc6ec93b11cb75ce84f5d (diff) | |
download | emacs-5613a6f6d52bca0018c5777aba67a99f51016a35.tar.gz |
Merge from emacs-24; up to 2014-06-19T14:03:45Z!monnier@iro.umontreal.ca
Diffstat (limited to 'lisp/emulation')
-rw-r--r-- | lisp/emulation/cua-rect.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emulation/cua-rect.el b/lisp/emulation/cua-rect.el index d516bd4c7cc..31dd137a6b9 100644 --- a/lisp/emulation/cua-rect.el +++ b/lisp/emulation/cua-rect.el @@ -726,11 +726,11 @@ If command is repeated at same position, delete the rectangle." ;; Set cua--rectangle to indicate we're marking a rectangle. ;; Be careful if we are already marking a rectangle. (setq cua--rectangle - (if (and cua--last-rectangle + (or (and cua--last-rectangle (eq (car cua--last-rectangle) (current-buffer)) - (eq (car (cdr cua--last-rectangle)) (point))) - (cdr (cdr cua--last-rectangle)) - (cua--rectangle-get-corners)) + (eq (car (cdr cua--last-rectangle)) (point)) + (cdr (cdr cua--last-rectangle))) + (cua--rectangle-get-corners)) cua--status-string (if (cua--rectangle-virtual-edges) " [R]" "") cua--last-rectangle nil) (activate-mark)) |