forked from OSchip/llvm-project
Only set EL_PROMPT_ESC when existing - fix typo
llvm-svn: 201024
This commit is contained in:
parent
54e7a77690
commit
bfc57f8370
|
@ -67,7 +67,7 @@ Editline::Editline (const char *prog, // prog can't be NULL
|
|||
|
||||
assert (m_editline);
|
||||
::el_set (m_editline, EL_CLIENTDATA, this);
|
||||
#idef EL_PROMPT_ESC
|
||||
#ifdef EL_PROMPT_ESC
|
||||
::el_set (m_editline, EL_PROMPT_ESC, GetPromptCallback, k_prompt_escape_char);
|
||||
#endif
|
||||
::el_set (m_editline, EL_EDITOR, "emacs");
|
||||
|
|
Loading…
Reference in New Issue