diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/window.c b/src/window.c index 12cdca006cd..b253f7d612c 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -264,10 +264,7 @@ use (let ((edges (window-edges))) (- (nth 2 edges) (nth 0 edges))).") | |||
| 264 | (window) | 264 | (window) |
| 265 | Lisp_Object window; | 265 | Lisp_Object window; |
| 266 | { | 266 | { |
| 267 | register struct window *w = decode_window (window); | 267 | return make_number (window_internal_width (decode_window (window))); |
| 268 | register int width = XFASTINT (w->width); | ||
| 269 | |||
| 270 | return make_number (window_internal_width (w)); | ||
| 271 | } | 268 | } |
| 272 | 269 | ||
| 273 | DEFUN ("window-hscroll", Fwindow_hscroll, Swindow_hscroll, 0, 1, 0, | 270 | DEFUN ("window-hscroll", Fwindow_hscroll, Swindow_hscroll, 0, 1, 0, |