From: Glenn Morris Date: Thu, 28 Oct 2010 03:52:14 +0000 (-0700) Subject: * lisp/select.el (x-selection): Mark it as an obsolete alias. X-Git-Tag: emacs-pretest-23.2.90~40 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=82f7efc32013723c80f6c4159427aa21575697cc;p=emacs.git * lisp/select.el (x-selection): Mark it as an obsolete alias. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f41bd45cfd4..bb530c0192a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/select.el b/lisp/select.el index 842c250df60..bada2e70e75 100644 --- a/lisp/select.el +++ b/lisp/select.el @@ -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