소스 검색

add func sed-in-place

pull/1/head
10sr 11 년 전
부모
커밋
bc59be820d
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. +11
    -0
      emacs.el

+ 11
- 0
emacs.el 파일 보기

@@ -1871,6 +1871,17 @@ when SEC is nil, stop auto save if enabled."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; misc funcs

(defvar sed-in-place-history nil
"History of `sed-in-place'")

(defun sed-in-place (command)
"sed in place"a
(interactive (list (read-shell-command "sed in place: "
"sed --in-place=.bak -e "
'sed-in-place-history)))
(shell-command command
"*sed in place*"))

(defun dir-show (&optional dir)
(interactive)
(let ((bf (get-buffer-create "*dir show*"))


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