瀏覽代碼

Prevent nested execution

master
10sr 6 年之前
父節點
當前提交
b0a03ed387
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      emacs.el

+ 3
- 0
emacs.el 查看文件

@@ -1929,6 +1929,9 @@ Delete the text between BEG and END when DELETE is non-nil."
(defun awk-preview (beg end)
"Run awk and preview result."
(interactive "r")
(when (and awk-preview--env
(awk-preview--env-running-p awk-preview--env))
(error "AWK-Preview already running"))
(let ((e (make-awk-preview--env)))
(setf (awk-preview--env-point-beg e) beg)
(setf (awk-preview--env-point-end e) end)


Loading…
取消
儲存