mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
(foo-options 'full) displays options doc in correct order
* libguile/options.c (get_documented_option_setting): Reverse options interface list before returning, so that they are in the original order.
This commit is contained in:
parent
4272304761
commit
edca9d6ef4
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ get_documented_option_setting (const scm_t_option options[])
|
|||
ls = scm_cons (SCM_PACK (options[i].name), ls);
|
||||
ans = scm_cons (ls, ans);
|
||||
}
|
||||
return ans;
|
||||
return scm_reverse_x (ans, SCM_UNDEFINED);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue