diff options
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/data.c b/src/data.c index b187a3e748a..b024511d779 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -30,6 +30,7 @@ Boston, MA 02110-1301, USA. */ | |||
| 30 | #include "keyboard.h" | 30 | #include "keyboard.h" |
| 31 | #include "frame.h" | 31 | #include "frame.h" |
| 32 | #include "syssignal.h" | 32 | #include "syssignal.h" |
| 33 | #include "termhooks.h" /* For FRAME_KBOARD reference in y-or-n-p. */ | ||
| 33 | 34 | ||
| 34 | #ifdef STDC_HEADERS | 35 | #ifdef STDC_HEADERS |
| 35 | #include <float.h> | 36 | #include <float.h> |
| @@ -1891,9 +1892,9 @@ selected frame's display device). */) | |||
| 1891 | { | 1892 | { |
| 1892 | Lisp_Object result; | 1893 | Lisp_Object result; |
| 1893 | struct device *d = get_device (device, 1); | 1894 | struct device *d = get_device (device, 1); |
| 1894 | push_device_kboard (d); | 1895 | push_kboard (d->kboard); |
| 1895 | result = Fsymbol_value (symbol); | 1896 | result = Fsymbol_value (symbol); |
| 1896 | pop_frame_kboard (); | 1897 | pop_kboard (); |
| 1897 | return result; | 1898 | return result; |
| 1898 | } | 1899 | } |
| 1899 | 1900 | ||
| @@ -1911,9 +1912,9 @@ selected frame's display device). */) | |||
| 1911 | { | 1912 | { |
| 1912 | Lisp_Object result; | 1913 | Lisp_Object result; |
| 1913 | struct device *d = get_device (device, 1); | 1914 | struct device *d = get_device (device, 1); |
| 1914 | push_device_kboard (d); | 1915 | push_kboard (d->kboard); |
| 1915 | result = Fset (symbol, value); | 1916 | result = Fset (symbol, value); |
| 1916 | pop_frame_kboard (); | 1917 | pop_kboard (); |
| 1917 | return result; | 1918 | return result; |
| 1918 | } | 1919 | } |
| 1919 | 1920 | ||