aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-09-16 03:13:55 +0000
committerGlenn Morris2009-09-16 03:13:55 +0000
commit77564fa48cbd34439311e72e2fba903fb7aa31fd (patch)
treef77de38c7624eae845d51ca5c049c17fea77446c
parent8480fc7c63f2bbea8a761ff4aab24cf61216268a (diff)
downloademacs-77564fa48cbd34439311e72e2fba903fb7aa31fd.tar.gz
emacs-77564fa48cbd34439311e72e2fba903fb7aa31fd.zip
(byte-compile-not-obsolete-vars): Set if bound.
-rw-r--r--lisp/ChangeLog13
-rw-r--r--lisp/net/tramp-compat.el2
2 files changed, 15 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 36e6d354622..3a63754b137 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,16 @@
12009-09-16 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
4 byte-compile-not-obsolete-var. It's a list now.
5 (byte-compile-not-obsolete-funcs): New variable.
6 (byte-compile-warn-obsolete): Don't warn about functions if they are in
7 byte-compile-not-obsolete-funcs.
8 (byte-compile-variable-ref, byte-compile-defvar): Update for
9 byte-compile-not-obsolete-vars name-change and list nature.
10 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
11 and variables behind (f)boundp tests.
12 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13
12009-09-15 Dan Nicolaescu <dann@ics.uci.edu> 142009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
2 15
3 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change. 16 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
diff --git a/lisp/net/tramp-compat.el b/lisp/net/tramp-compat.el
index 96c8bd86b77..258bc2f4de0 100644
--- a/lisp/net/tramp-compat.el
+++ b/lisp/net/tramp-compat.el
@@ -88,6 +88,8 @@
88 (unless (boundp 'byte-compile-not-obsolete-var) 88 (unless (boundp 'byte-compile-not-obsolete-var)
89 (defvar byte-compile-not-obsolete-var nil)) 89 (defvar byte-compile-not-obsolete-var nil))
90 (setq byte-compile-not-obsolete-var 'directory-sep-char) 90 (setq byte-compile-not-obsolete-var 'directory-sep-char)
91 (if (boundp 'byte-compile-not-obsolete-vars) ; Emacs 23.2
92 (setq byte-compile-not-obsolete-vars '(directory-sep-char)))
91 93
92 ;; `with-temp-message' does not exists in XEmacs. 94 ;; `with-temp-message' does not exists in XEmacs.
93 (condition-case nil 95 (condition-case nil