* lisp/select.el (x-selection): Mark it as an obsolete alias.
authorGlenn Morris <rgm@gnu.org>
Thu, 28 Oct 2010 03:52:14 +0000 (20:52 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 28 Oct 2010 03:52:14 +0000 (20:52 -0700)
lisp/ChangeLog
lisp/select.el

index f41bd45..bb530c0 100644 (file)
@@ -1,3 +1,7 @@
+2010-10-28  Glenn Morris  <rgm@gnu.org>
+
+       * select.el (x-selection): Mark it as an obsolete alias.
+
 2010-10-27  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
 
        * add-log.el (find-change-log): Use derived-mode-p rather than
index 842c250..bada2e7 100644 (file)
@@ -67,8 +67,9 @@ variable is set to nil.")
 (declare-function x-get-selection-internal "xselect.c"
                  (selection-symbol target-type &optional time-stamp))
 
-;; This is for temporary compatibility with pre-release Emacs 19.
-(defalias 'x-selection 'x-get-selection)
+;; Only declared obsolete in 23.3.
+(define-obsolete-function-alias 'x-selection 'x-get-selection "at least 19.34")
+
 (defun x-get-selection (&optional type data-type)
   "Return the value of an X Windows selection.
 The argument TYPE (default `PRIMARY') says which selection,
@@ -410,5 +411,4 @@ This function returns the string \"emacs\"."
 
 (provide 'select)
 
-;; arch-tag: bb634f97-8a3b-4b0a-b940-f6e09982328c
 ;;; select.el ends here