10sr 6年前
コミット
07aaf41725
署名者: 10sr GPGキーID: 7BEC428194130EB2
1個のファイルの変更5行の追加4行の削除
  1. +5
    -4
      emacs.el

+ 5
- 4
emacs.el ファイルの表示

@@ -1711,7 +1711,7 @@ This mode is a simplified version of `adoc-mode'."
:group 'awk-preview)

(defcustom awk-preview-switches
'("--sandbox" "--" "{print}")
'("--sandbox" "--" "{print NR, $0}")
"String of awk options appended when running awk preview."
:type '(repeat string)
:group 'awk-preview)
@@ -1789,13 +1789,14 @@ Return that buffer."
(let ((source-name (with-current-buffer source (buffer-name))))
(with-current-buffer (generate-new-buffer (format awk-preview-program-buffer-name
source-name))
(erase-buffer)
(insert awk-preview-default-program)
(awk-mode)

(setq awk-preview--source-buffer source)
(setq awk-preview--preview-buffer preview)
(setq awk-preview--program-buffer (current-buffer))

(erase-buffer)
(insert awk-preview-default-program)
(awk-mode)
(current-buffer))))

(defun awk-preview--create-preview-buffer (source)


読み込み中…
キャンセル
保存