# HG changeset patch # User Glenn Morris # Date 1253070835 0 # Node ID 2e1ecbf638ee87e9fd08730f9b7fffd806d8a5e6 # Parent 8226adaf7c754aaa576256cc1afa326608a79f5d (byte-compile-not-obsolete-vars): Set if bound. diff -r 8226adaf7c75 -r 2e1ecbf638ee lisp/ChangeLog --- a/lisp/ChangeLog Wed Sep 16 03:13:03 2009 +0000 +++ b/lisp/ChangeLog Wed Sep 16 03:13:55 2009 +0000 @@ -1,3 +1,16 @@ +2009-09-16 Glenn Morris + + * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from + byte-compile-not-obsolete-var. It's a list now. + (byte-compile-not-obsolete-funcs): New variable. + (byte-compile-warn-obsolete): Don't warn about functions if they are in + byte-compile-not-obsolete-funcs. + (byte-compile-variable-ref, byte-compile-defvar): Update for + byte-compile-not-obsolete-vars name-change and list nature. + (byte-compile-maybe-guarded): Suppress warnings about obsolete functions + and variables behind (f)boundp tests. + * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound. + 2009-09-15 Dan Nicolaescu * vc-git.el (vc-git-log-view-mode): Undo inadvertent change. diff -r 8226adaf7c75 -r 2e1ecbf638ee lisp/net/tramp-compat.el --- a/lisp/net/tramp-compat.el Wed Sep 16 03:13:03 2009 +0000 +++ b/lisp/net/tramp-compat.el Wed Sep 16 03:13:55 2009 +0000 @@ -88,6 +88,8 @@ (unless (boundp 'byte-compile-not-obsolete-var) (defvar byte-compile-not-obsolete-var nil)) (setq byte-compile-not-obsolete-var 'directory-sep-char) + (if (boundp 'byte-compile-not-obsolete-vars) ; Emacs 23.2 + (setq byte-compile-not-obsolete-vars '(directory-sep-char))) ;; `with-temp-message' does not exists in XEmacs. (condition-case nil