Mercurial > hg > octave-lyh
diff src/user-prefs.cc @ 1588:27f5ac98fc4a
[project @ 1995-10-31 06:04:47 by jwe]
author | jwe |
---|---|
date | Tue, 31 Oct 1995 06:04:47 +0000 |
parents | 74f9e88a2c12 |
children | f18871f4df2b |
line wrap: on
line diff
--- a/src/user-prefs.cc +++ b/src/user-prefs.cc @@ -185,6 +185,24 @@ } +// Echo commands as they are executed? +// +// 1 ==> echo commands read from script files +// 2 ==> echo commands from functions +// 4 ==> echo commands read from command line +// +// more than one state can be active at once. + +int +echo_executing_commands (void) +{ + user_pref.echo_executing_commands = + check_preference ("echo_executing_commands"); + + return 0; +} + + // Should ignore empty elements in a matrix list (i.e., is an // expression like `[[], 1]' ok?