Function: autoconf-delete-parameter
autoconf-delete-parameter is a byte-compiled function defined in
autoconf-edit.el.gz.
Signature
(autoconf-delete-parameter INDEX)
Documentation
Delete the INDEXth parameter from the macro starting on the current line.
Leaves the cursor where a new parameter can be inserted. INDEX starts at 1.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede/autoconf-edit.el.gz
(defun autoconf-delete-parameter (index)
"Delete the INDEXth parameter from the macro starting on the current line.
Leaves the cursor where a new parameter can be inserted.
INDEX starts at 1."
(beginning-of-line)
(down-list 1)
(re-search-forward ", ?" nil nil (1- index))
(let ((end (save-excursion
(re-search-forward ",\\|)" (line-end-position))
(forward-char -1)
(point))))
(setq autoconf-deleted-text (buffer-substring (point) end))
(delete-region (point) end)))