Commit c0d42853 authored by Noah Friedman's avatar Noah Friedman

(ybuffer-list): $alist must be ptr-unmasked at the end of the loop,

because $ptr is modified by ygetptr and we use $ptr immediately at the
parent 784602b1
......@@ -105,8 +105,6 @@ define ybuffer-list
while $alist != $qnil
set $this = ((struct Lisp_Cons *) $ptr)->car
set $alist = ((struct Lisp_Cons *) $ptr)->u.cdr
ygetptr $alist
set $alist = $ptr
# Vbuffer_alist elts are pairs of the form (name . buffer)
ygetptr $this
......@@ -136,6 +134,8 @@ define ybuffer-list
set $i++
ygetptr $alist
set $alist = $ptr
document ybuffer-list
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