From f84f42247ebced677b8d57c0c21d7bea86fd4bb9 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 23 Oct 2007 20:55:18 +0000 Subject: [PATCH] (make-variable-frame-localizable): Remove. (make-variable-frame-local): Mark obsolete. --- etc/NEWS | 2 ++ lisp/ChangeLog | 5 +++++ lisp/subr.el | 3 +-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 5e92b8c0c8e..f9caea51f0c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -97,6 +97,8 @@ This can be used to add menu entries for backend specific functions. * 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. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e729ad29fea..4de00ebb2b1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-10-23 Stefan Monnier + + * subr.el (make-variable-frame-localizable): Remove. + (make-variable-frame-local): Mark obsolete. + 2007-10-23 Juanma Barranquero * ibuf-ext.el (ibuffer-switch-to-saved-filters) diff --git a/lisp/subr.el b/lisp/subr.el index 63bbc110774..ee9a79c2428 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -944,7 +944,7 @@ is converted into a string by expressing it in decimal." (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 @@ to reread, so it now uses nil to mean `no event', instead of -1." (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) -- 2.39.2