mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Do not default to emacs if explicitly turned off (re: 1375cda9
)
When a user invokes 'ksh +o emacs' they should not land in the emacs line editor, as they explicitly asked not to have it. So default to no editor mode in that case.
This commit is contained in:
parent
372d704bfb
commit
9f78a4d5a7
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ int sh_main(int ac, char *av[], Shinit_f userinit)
|
|||
#if SHOPT_VSH
|
||||
&& !sh_isoption(SH_VI)
|
||||
#endif /* SHOPT_VSH */
|
||||
)
|
||||
&& !is_option(&sh.offoptions,SH_EMACS))
|
||||
sh_onoption(SH_EMACS);
|
||||
#endif /* SHOPT_ESH */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue