소스 검색

Add delete arg

master
10sr 6 년 전
부모
커밋
c1bac66add
로그인 계정: 10sr GPG 키 ID: 7BEC428194130EB2
1개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. +6
    -3
      emacs.el

+ 6
- 3
emacs.el 파일 보기

@@ -1771,14 +1771,17 @@ Used by preview buffer and may defferent from awk-preview--point-end.")
nil
"Awk preview window configuration.")

(defun awk-preview--invoke-awk (buf beg end progfile output)
"Execute PROFILE awk process with BEG and END input and output to OUTPUT buffer."
(defun awk-preview--invoke-awk (buf beg end progfile output &optional delete)
"Execute PROGFILE awk process with BEG and END input and output to OUTPUT buffer.

When OUTPUT is t the result will be output to BUF.
Delete the text between BEG and END when DELETE is non-nil."
(with-current-buffer buf
(let ((status (apply 'call-process-region
beg
end
awk-preview-program
nil
delete
output
nil
`(,@awk-preview-switches "-f" ,progfile))))


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