瀏覽代碼

Fix bug

master
10sr 6 年之前
父節點
當前提交
b82f420f18
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 6 行新增4 行删除
  1. +6
    -4
      emacs.el

+ 6
- 4
emacs.el 查看文件

@@ -2019,10 +2019,12 @@ DISPLAY non-nil means redisplay buffer as output is inserted."

(defun awk-preview--cleanup()
"Cleanup awk preview buffers and variables."
(kill-buffer (awk-preview--env-preview-buffer awk-preview--env))
;; TODO: Ask if it should be killed
(kill-buffer (awk-preview--env-program-buffer awk-preview--env))
(setf (awk-preview--env-running-p awk-preview--env) nil)
(with-current-buffer (awk-preview--env-source-buffer awk-preview--env)
(cl-assert awk-preview--env)
(kill-buffer (awk-preview--env-preview-buffer awk-preview--env))
;; TODO: Ask if it should be killed
(kill-buffer (awk-preview--env-program-buffer awk-preview--env))
(setf (awk-preview--env-running-p awk-preview--env) nil))
(set-window-configuration (awk-preview--env-window-configuration awk-preview--env)))

(defvar awk-preview-program-mode-map


Loading…
取消
儲存