aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2016-12-21 15:07:43 -0500
committerStefan Monnier2016-12-21 15:07:43 -0500
commita6063ffe5ae395655cb55ba5823c83e306b3161b (patch)
treeab44b1db51c5ae4e5ff65533b9eeba79de954460 /lisp
parentcf6ce9a1fe320ebe5b238af5f7af9416ac954855 (diff)
downloademacs-a6063ffe5ae395655cb55ba5823c83e306b3161b.tar.gz
emacs-a6063ffe5ae395655cb55ba5823c83e306b3161b.zip
* src/data.c (Fmake_variable_frame_local): Remove
* src/lisp.h (struct Lisp_Buffer_Local_Value): Remove `frame_local'. * src/data.c (swap_in_symval_forwarding, set_internal) (set_symbol_trapped_write, make_blv, Fmake_variable_buffer_local) (Fmake_local_variable, Fkill_local_variable, Flocal_variable_p): Don't pay attention to ->frame_local any more. (syms_of_data): Remove Qtrapping_frame_local and don't defsubr Smake_variable_frame_local. * etc/NEWS (Incompatible Lisp Changes in Emacs 26.1): Announce removal of make-variable-frame-local. * lisp/help-fns.el (describe-variable): Don't handle the now impossible frame-local case. * lisp/subr.el (make-variable-frame-local): Remove obsolescence data. * src/frame.c (store_frame_param): * src/eval.c (specbind): Don't pay attention to ->frame_local any more. * src/widget.c (first_frame_p): Remove, unused.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/cedet/mode-local.el2
-rw-r--r--lisp/emacs-lisp/edebug.el3
-rw-r--r--lisp/help-fns.el2
-rw-r--r--lisp/subr.el3
4 files changed, 3 insertions, 7 deletions
diff --git a/lisp/cedet/mode-local.el b/lisp/cedet/mode-local.el
index 4f424313ab7..71e146880b1 100644
--- a/lisp/cedet/mode-local.el
+++ b/lisp/cedet/mode-local.el
@@ -31,7 +31,7 @@
31;; This library permits the setting of override functions for tasks of 31;; This library permits the setting of override functions for tasks of
32;; that nature, and also provides reasonable defaults. 32;; that nature, and also provides reasonable defaults.
33;; 33;;
34;; There are buffer local variables, and frame local variables. 34;; There are buffer local variables (and there were frame local variables).
35;; This library gives the illusion of mode specific variables. 35;; This library gives the illusion of mode specific variables.
36;; 36;;
37;; You should use a mode-local variable or override to allow extension 37;; You should use a mode-local variable or override to allow extension
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 66117b83316..04a493c826f 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -2170,8 +2170,7 @@ The purpose of this function is so you can properly undo
2170subsequent changes to the same binding, by passing the status 2170subsequent changes to the same binding, by passing the status
2171cons cell to `edebug-restore-status'. The status cons cell 2171cons cell to `edebug-restore-status'. The status cons cell
2172has the form (LOCUS . VALUE), where LOCUS can be a buffer 2172has the form (LOCUS . VALUE), where LOCUS can be a buffer
2173\(for a buffer-local binding), a frame (for a frame-local binding), 2173\(for a buffer-local binding), or nil (if the default binding is current)."
2174or nil (if the default binding is current)."
2175 (cons (variable-binding-locus var) 2174 (cons (variable-binding-locus var)
2176 (symbol-value var))) 2175 (symbol-value var)))
2177 2176
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 23dec896b81..6402f770927 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -863,8 +863,6 @@ it is displayed along with the global value."
863 ((bufferp locus) 863 ((bufferp locus)
864 (princ (format "Local in buffer %s; " 864 (princ (format "Local in buffer %s; "
865 (buffer-name buffer)))) 865 (buffer-name buffer))))
866 ((framep locus)
867 (princ (format "It is a frame-local variable; ")))
868 ((terminal-live-p locus) 866 ((terminal-live-p locus)
869 (princ (format "It is a terminal-local variable; "))) 867 (princ (format "It is a terminal-local variable; ")))
870 (t 868 (t
diff --git a/lisp/subr.el b/lisp/subr.el
index 99b142993fc..89ceb9ba55f 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1310,8 +1310,7 @@ be a list of the form returned by `event-start' and `event-end'."
1310(make-obsolete 'focus-frame "it does nothing." "22.1") 1310(make-obsolete 'focus-frame "it does nothing." "22.1")
1311(defalias 'unfocus-frame 'ignore "") 1311(defalias 'unfocus-frame 'ignore "")
1312(make-obsolete 'unfocus-frame "it does nothing." "22.1") 1312(make-obsolete 'unfocus-frame "it does nothing." "22.1")
1313(make-obsolete 'make-variable-frame-local 1313
1314 "explicitly check for a frame-parameter instead." "22.2")
1315(set-advertised-calling-convention 1314(set-advertised-calling-convention
1316 'all-completions '(string collection &optional predicate) "23.1") 1315 'all-completions '(string collection &optional predicate) "23.1")
1317(set-advertised-calling-convention 'unintern '(name obarray) "23.3") 1316(set-advertised-calling-convention 'unintern '(name obarray) "23.3")