]> code.delx.au - gnu-emacs/commitdiff
Put isearch-scroll property on cua-scroll-up and cua-scroll-down.
authorJuri Linkov <juri@jurta.org>
Sun, 11 May 2008 20:31:18 +0000 (20:31 +0000)
committerJuri Linkov <juri@jurta.org>
Sun, 11 May 2008 20:31:18 +0000 (20:31 +0000)
lisp/emulation/cua-base.el

index c7c9ea5663a1af3dd0a0eaee8e81b275ba324a2e..9047b6473a5f895adf18d436df5871cc1169467e 100644 (file)
@@ -1151,6 +1151,7 @@ If ARG is the atom `-', scroll downward by nearly full screen."
       (end-of-buffer (goto-char (point-max)))))))
 
 (put 'cua-scroll-up 'CUA 'move)
+(put 'cua-scroll-up 'isearch-scroll t)
 
 (defun cua-scroll-down (&optional arg)
   "Scroll text of current window downward ARG lines; or near full screen if no ARG.
@@ -1171,6 +1172,7 @@ If ARG is the atom `-', scroll upward by nearly full screen."
       (beginning-of-buffer (goto-char (point-min)))))))
 
 (put 'cua-scroll-down 'CUA 'move)
+(put 'cua-scroll-down 'isearch-scroll t)
 
 ;;; Cursor indications