* lisp/emulation/cua-base.el (pc-selection-mode): Declare.
authorGlenn Morris <rgm@gnu.org>
Fri, 18 Feb 2011 08:17:20 +0000 (00:17 -0800)
committerGlenn Morris <rgm@gnu.org>
Fri, 18 Feb 2011 08:17:20 +0000 (00:17 -0800)
lisp/ChangeLog
lisp/emulation/cua-base.el

index 6db7e1e..911bee7 100644 (file)
@@ -1,5 +1,7 @@
 2011-02-18  Glenn Morris  <rgm@gnu.org>
 
+       * emulation/cua-base.el (pc-selection-mode): Declare.
+
        * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
        (customize-object): Add autoload cookie.
        * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
index 2673175..0df9e7b 100644 (file)
@@ -1518,6 +1518,9 @@ If ARG is the atom `-', scroll upward by nearly full screen."
    c-beginning-of-statement c-end-of-statement))
   (put cmd 'CUA 'move))
 
+;; Only called if pc-selection-mode is t, which means pc-select is loaded.
+(declare-function pc-selection-mode "pc-select" (&optional arg))
+
 ;; State prior to enabling cua-mode
 ;; Value is a list with the following elements:
 ;;   transient-mark-mode