Mercurial > emacs
changeset 111255:d74f09f8c82d
* lisp/select.el (x-selection): Mark it as an obsolete alias.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 27 Oct 2010 20:52:14 -0700 |
parents | 210454388040 |
children | d3a53e95c036 |
files | lisp/ChangeLog lisp/select.el |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 <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
--- 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