소스 검색

Revert "Prefer NNN_USE_EDITOR over opener (option )"

This reverts commit 7f3d2c10aa.
master
Arun Prakash Jana 5 년 전
부모
커밋
7d171368ad
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/nnn.c

+ 2
- 2
src/nnn.c 파일 보기

@@ -5814,8 +5814,8 @@ int main(int argc, char *argv[])
}
}

/* Edit text in "editor" if opted (gets preference over option `-c`) */
if (xgetenv_set(env_cfg[NNN_USE_EDITOR]))
/* Edit text in EDITOR if opted (and opener is not all-CLI) */
if (!cfg.cliopener && xgetenv_set(env_cfg[NNN_USE_EDITOR]))
cfg.useeditor = 1;

/* Get VISUAL/EDITOR */


불러오는 중...
취소
저장