Commit 328ab8e7 authored by Paul Eggert's avatar Paul Eggert
Browse files

* buffer.c (Fprevious_overlay_change): Remove var that is set

but not used.
parent 6b043475
2011-04-02 Paul Eggert <eggert@cs.ucla.edu>
* buffer.c (Fprevious_overlay_change): Remove var that is set
but not used.
* keyboard.c (menu_bar_items, read_char_minibuf_menu_prompt):
Remove vars that are set but not used.
(timer_check_2): Don't assume timer-list and idle-timer-list are lists.
......@@ -4047,7 +4047,6 @@ If there are no overlay boundaries from (point-min) to POS,
the value is (point-min). */)
(Lisp_Object pos)
{
int noverlays;
EMACS_INT prevpos;
Lisp_Object *overlay_vec;
int len;
......@@ -4065,8 +4064,8 @@ the value is (point-min). */)
/* Put all the overlays we want in a vector in overlay_vec.
Store the length in len.
prevpos gets the position of the previous change. */
noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len,
(EMACS_INT *) 0, &prevpos, 1);
overlays_at (XINT (pos), 1, &overlay_vec, &len,
(EMACS_INT *) 0, &prevpos, 1);
xfree (overlay_vec);
return make_number (prevpos);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment