# HG changeset patch # User Glenn Morris # Date 1288237934 25200 # Node ID d74f09f8c82dbb9fba24e03d9f3cd3c7e226ff8a # Parent 210454388040a8382d9395137526c71822a6f8cd * lisp/select.el (x-selection): Mark it as an obsolete alias. diff -r 210454388040 -r d74f09f8c82d lisp/ChangeLog --- a/lisp/ChangeLog Wed Oct 27 17:37:15 2010 -0400 +++ b/lisp/ChangeLog Wed Oct 27 20:52:14 2010 -0700 @@ -1,3 +1,7 @@ +2010-10-28 Glenn Morris + + * select.el (x-selection): Mark it as an obsolete alias. + 2010-10-27 Aaron S. Hawley * add-log.el (find-change-log): Use derived-mode-p rather than diff -r 210454388040 -r d74f09f8c82d lisp/select.el --- a/lisp/select.el Wed Oct 27 17:37:15 2010 -0400 +++ b/lisp/select.el Wed Oct 27 20:52:14 2010 -0700 @@ -67,8 +67,9 @@ (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 @@ (provide 'select) -;; arch-tag: bb634f97-8a3b-4b0a-b940-f6e09982328c ;;; select.el ends here