]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove uses of obsolete 'CUA' symbol property
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 19 Nov 2018 02:15:06 +0000 (21:15 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 19 Nov 2018 02:15:06 +0000 (21:15 -0500)
* lisp/emulation/cua-base.el (cua-scroll-up, cua-scroll-down):
* lisp/progmodes/subword.el (subword-forward, subword-backward):
* lisp/obsolete/crisp.el (crisp-home, crisp-end):
Remove 'CUA' prop; not used any more.

lisp/emulation/cua-base.el
lisp/obsolete/crisp.el
lisp/progmodes/subword.el

index f1143425eb85572096147eead913cbfdf1b686df..f9a3fb0fb4a80920499e15850b9455135979c631 100644 (file)
@@ -39,7 +39,7 @@
 ;;     C-v     -> paste
 ;;
 ;; The tricky part is the handling of the C-x and C-c keys which
-;; are normally used as prefix keys for most of emacs' built-in
+;; are normally used as prefix keys for most of Emacs' built-in
 ;; commands.  With CUA they still do!!!
 ;;
 ;; Only when the region is currently active (and highlighted since
@@ -69,7 +69,7 @@
 ;; [C-space] to start the region and use unshifted movement keys to extend
 ;; it. To cancel the region, use [C-space] or [C-g].
 
-;; If you prefer to use the standard emacs cut, copy, paste, and undo
+;; If you prefer to use the standard Emacs cut, copy, paste, and undo
 ;; bindings, customize cua-enable-cua-keys to nil.
 
 
 ;; cua-mode's superior rectangle support uses a true visual
 ;; representation of the selected rectangle, i.e. it highlights the
 ;; actual part of the buffer that is currently selected as part of the
-;; rectangle.  Unlike emacs' traditional rectangle commands, the
+;; rectangle.  Unlike Emacs' traditional rectangle commands, the
 ;; selected rectangle always as straight left and right edges, even
 ;; when those are in the middle of a TAB character or beyond the end
 ;; of the current line.  And it does this without actually modifying
@@ -1047,7 +1047,6 @@ If ARG is the atom `-', scroll downward by nearly full screen."
        (scroll-up arg)
       (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)
@@ -1068,7 +1067,6 @@ If ARG is the atom `-', scroll upward by nearly full screen."
        (scroll-down arg)
       (beginning-of-buffer (goto-char (point-min)))))))
 
-(put 'cua-scroll-down 'CUA 'move)
 (put 'cua-scroll-down 'isearch-scroll t)
 
 ;;; Cursor indications
index 4bd555a72ed9c45a21365a5d88d941509433c2fc..944c6c01198c2f6fa540b92db9a07943baa8afe1 100644 (file)
@@ -376,10 +376,6 @@ normal CRiSP binding) and when it is nil M-x will run
 ;;;###autoload
 (defalias 'brief-mode 'crisp-mode)
 
-;; Interaction with other packages.
-(put 'crisp-home 'CUA 'move)
-(put 'crisp-end  'CUA 'move)
-
 (run-hooks 'crisp-load-hook)
 (provide 'crisp)
 
index 685e171dd6431d714a8e5b836688165ff6bf18b9..d5346d3afd4baf9b1c23c512095992084d58c198 100644 (file)
@@ -145,8 +145,6 @@ Optional argument ARG is the same as for `forward-word'."
    (t
     (point))))
 
-(put 'subword-forward 'CUA 'move)
-
 (defun subword-backward (&optional arg)
   "Do the same as `backward-word' but on subwords.
 See the command `subword-mode' for a description of subwords.
@@ -187,8 +185,6 @@ Optional argument ARG is the same as for `mark-word'."
            (point))
          nil t))))
 
-(put 'subword-backward 'CUA 'move)
-
 (defun subword-kill (arg)
   "Do the same as `kill-word' but on subwords.
 See the command `subword-mode' for a description of subwords.