summaryrefslogtreecommitdiff
path: root/lisp/select.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-10-27 20:52:14 -0700
committerGlenn Morris <rgm@gnu.org>2010-10-27 20:52:14 -0700
commit82f7efc32013723c80f6c4159427aa21575697cc (patch)
treedd01e98106c52d4cb6485ec34d4c60dd0054c5a5 /lisp/select.el
parentca39416c788ea47781f3ebb564d52df6fbf3af95 (diff)
downloademacs-82f7efc32013723c80f6c4159427aa21575697cc.tar.gz
* lisp/select.el (x-selection): Mark it as an obsolete alias.
Diffstat (limited to 'lisp/select.el')
-rw-r--r--lisp/select.el6
1 files changed, 3 insertions, 3 deletions
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