aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPaul Eggert2012-11-06 09:40:07 -0800
committerPaul Eggert2012-11-06 09:40:07 -0800
commit68f8f1c0c680494639b4396e242747e5103ae40d (patch)
tree7195329b3f0a568d7aed617fa1f37779b1b13aad /src/buffer.c
parent056cb3a1fc23d0eb3a2fae33c40aef2ed16d69ad (diff)
downloademacs-68f8f1c0c680494639b4396e242747e5103ae40d.tar.gz
emacs-68f8f1c0c680494639b4396e242747e5103ae40d.zip
Minor adjustments of recently-changed frame functions.
* buffer.c (Fbuffer_list): Omit CHECK_FRAME, since arg is already known to be a frame (we're in the FRAMEP branch). * lisp.h (Qframep): Remove decl. frame.h declares this. * window.c (quad): Args are of type EMACS_INT, not ptrdiff_t, since they're meant for Lisp fixnum values.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 24286610570..bb69675346a 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -406,7 +406,6 @@ followed by the rest of the buffers. */)
406 Lisp_Object framelist, prevlist, tail; 406 Lisp_Object framelist, prevlist, tail;
407 Lisp_Object args[3]; 407 Lisp_Object args[3];
408 408
409 CHECK_FRAME (frame);
410 framelist = Fcopy_sequence (XFRAME (frame)->buffer_list); 409 framelist = Fcopy_sequence (XFRAME (frame)->buffer_list);
411 prevlist = Fnreverse (Fcopy_sequence 410 prevlist = Fnreverse (Fcopy_sequence
412 (XFRAME (frame)->buried_buffer_list)); 411 (XFRAME (frame)->buried_buffer_list));
@@ -2103,7 +2102,7 @@ set_buffer_internal_1 (register struct buffer *b)
2103 return; 2102 return;
2104 2103
2105 BUFFER_CHECK_INDIRECTION (b); 2104 BUFFER_CHECK_INDIRECTION (b);
2106 2105
2107 old_buf = current_buffer; 2106 old_buf = current_buffer;
2108 current_buffer = b; 2107 current_buffer = b;
2109 last_known_column_point = -1; /* invalidate indentation cache */ 2108 last_known_column_point = -1; /* invalidate indentation cache */