changeset 79186:35b535f36d05

(make-variable-frame-localizable): Remove. (make-variable-frame-local): Mark obsolete.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 23 Oct 2007 20:55:18 +0000
parents 1b7e940a8dda
children e3d75658c018
files etc/NEWS lisp/ChangeLog lisp/subr.el
diffstat 3 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Tue Oct 23 15:28:15 2007 +0000
+++ b/etc/NEWS	Tue Oct 23 20:55:18 2007 +0000
@@ -97,6 +97,8 @@
 
 * Lisp Changes in Emacs 22.2.
 
+** Frame-local variables are deprecated and are slated for removal.
+   Use frame parameters instead.
 ** The function invisible-p returns non-nil if the character
 after a specified position is invisible.
 
--- a/lisp/ChangeLog	Tue Oct 23 15:28:15 2007 +0000
+++ b/lisp/ChangeLog	Tue Oct 23 20:55:18 2007 +0000
@@ -1,3 +1,8 @@
+2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* subr.el (make-variable-frame-localizable): Remove.
+	(make-variable-frame-local): Mark obsolete.
+
 2007-10-23  Juanma Barranquero  <lekktu@gmail.com>
 
 	* ibuf-ext.el (ibuffer-switch-to-saved-filters)
--- a/lisp/subr.el	Tue Oct 23 15:28:15 2007 +0000
+++ b/lisp/subr.el	Tue Oct 23 20:55:18 2007 +0000
@@ -944,7 +944,7 @@
 (make-obsolete 'focus-frame "it does nothing." "22.1")
 (defalias 'unfocus-frame 'ignore "")
 (make-obsolete 'unfocus-frame "it does nothing." "22.1")
-
+(make-obsolete 'make-variable-frame-local "use a frame-parameter instead" "22.2")
 
 ;;;; Obsolescence declarations for variables, and aliases.
 
@@ -988,7 +988,6 @@
 (defalias 'search-backward-regexp (symbol-function 're-search-backward))
 (defalias 'int-to-string 'number-to-string)
 (defalias 'store-match-data 'set-match-data)
-(defalias 'make-variable-frame-localizable 'make-variable-frame-local)
 ;; These are the XEmacs names:
 (defalias 'point-at-eol 'line-end-position)
 (defalias 'point-at-bol 'line-beginning-position)