Parcourir la source

Prevent nested execution

master
10sr il y a 6 ans
Parent
révision
b0a03ed387
Signé par: 10sr ID de la clé GPG: 7BEC428194130EB2
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. +3
    -0
      emacs.el

+ 3
- 0
emacs.el Voir le fichier

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


Chargement…
Annuler
Enregistrer