10sr 6 yıl önce
ebeveyn
işleme
07aaf41725
İmzalayan: 10sr GPG Anahtar Kimliği: 7BEC428194130EB2
1 değiştirilmiş dosya ile 5 ekleme ve 4 silme
  1. +5
    -4
      emacs.el

+ 5
- 4
emacs.el Dosyayı Görüntüle

@@ -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)


Yükleniyor…
İptal
Kaydet