emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100140: * lisp/select.el (x-selec


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100140: * lisp/select.el (x-selection): Mark it as an obsolete alias.
Date: Wed, 27 Oct 2010 20:52:14 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100140
committer: Glenn Morris <address@hidden>
branch nick: emacs-23
timestamp: Wed 2010-10-27 20:52:14 -0700
message:
  * lisp/select.el (x-selection): Mark it as an obsolete alias.
modified:
  lisp/ChangeLog
  lisp/select.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-10-27 21:37:15 +0000
+++ b/lisp/ChangeLog    2010-10-28 03:52:14 +0000
@@ -1,3 +1,7 @@
+2010-10-28  Glenn Morris  <address@hidden>
+
+       * select.el (x-selection): Mark it as an obsolete alias.
+
 2010-10-27  Aaron S. Hawley  <address@hidden>
 
        * add-log.el (find-change-log): Use derived-mode-p rather than

=== modified file 'lisp/select.el'
--- a/lisp/select.el    2010-01-13 08:35:10 +0000
+++ b/lisp/select.el    2010-10-28 03:52:14 +0000
@@ -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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]