diff options
Diffstat (limited to 'src/data.c')
-rw-r--r-- | src/data.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/data.c b/src/data.c index bd08368c2fb..0b2036395da 100644 --- a/src/data.c +++ b/src/data.c @@ -1900,41 +1900,41 @@ If the current binding is global (the default), the value is nil. */) /* This code is disabled now that we use the selected frame to return keyboard-local-values. */ #if 0 -extern struct device *get_device P_ ((Lisp_Object display, int)); +extern struct terminal *get_terminal P_ ((Lisp_Object display, int)); DEFUN ("terminal-local-value", Fterminal_local_value, Sterminal_local_value, 2, 2, 0, - doc: /* Return the terminal-local value of SYMBOL on DEVICE. + doc: /* Return the terminal-local value of SYMBOL on TERMINAL. If SYMBOL is not a terminal-local variable, then return its normal value, like `symbol-value'. -DEVICE may be a display device id, a frame, or nil (meaning the -selected frame's display device). */) - (symbol, device) +TERMINAL may be a terminal id, a frame, or nil (meaning the +selected frame's terminal device). */) + (symbol, terminal) Lisp_Object symbol; - Lisp_Object device; + Lisp_Object terminal; { Lisp_Object result; - struct device *d = get_device (device, 1); - push_kboard (d->kboard); + struct terminal *t = get_terminal (terminal, 1); + push_kboard (t->kboard); result = Fsymbol_value (symbol); pop_kboard (); return result; } DEFUN ("set-terminal-local-value", Fset_terminal_local_value, Sset_terminal_local_value, 3, 3, 0, - doc: /* Set the terminal-local binding of SYMBOL on DEVICE to VALUE. + doc: /* Set the terminal-local binding of SYMBOL on TERMINAL to VALUE. If VARIABLE is not a terminal-local variable, then set its normal binding, like `set'. -DEVICE may be a display device id, a frame, or nil (meaning the -selected frame's display device). */) - (symbol, device, value) +TERMINAL may be a terminal id, a frame, or nil (meaning the +selected frame's terminal device). */) + (symbol, terminal, value) Lisp_Object symbol; - Lisp_Object device; + Lisp_Object terminal; Lisp_Object value; { Lisp_Object result; - struct device *d = get_device (device, 1); + struct terminal *t = get_terminal (terminal, 1); push_kboard (d->kboard); result = Fset (symbol, value); pop_kboard (); |