From 82f7efc32013723c80f6c4159427aa21575697cc Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 27 Oct 2010 20:52:14 -0700 Subject: [PATCH] * lisp/select.el (x-selection): Mark it as an obsolete alias. --- lisp/ChangeLog | 4 ++++ lisp/select.el | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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 -- 2.39.2