Function: autoconf-edit-cycle
autoconf-edit-cycle is a macro defined in autoconf-edit.el.gz.
Signature
(autoconf-edit-cycle &rest BODY)
Documentation
Start an edit cycle, unsetting the modified flag if there is no change.
Optional argument BODY is the code to execute which edits the autoconf file.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede/autoconf-edit.el.gz
(defmacro autoconf-edit-cycle (&rest body)
"Start an edit cycle, unsetting the modified flag if there is no change.
Optional argument BODY is the code to execute which edits the autoconf file."
`(let ((autoconf-deleted-text nil)
(autoconf-inserted-text nil)
(mod (buffer-modified-p)))
,@body
(if (and (not mod)
(string= autoconf-deleted-text autoconf-inserted-text))
(set-buffer-modified-p nil))))