1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00

* lisp/select.el (x-selection): Mark it as an obsolete alias.

This commit is contained in:
Glenn Morris 2010-10-27 20:52:14 -07:00
parent ca39416c78
commit 82f7efc320
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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