Function: senator-kill-tag

senator-kill-tag is an autoloaded, interactive and byte-compiled function defined in senator.el.gz.

Signature

(senator-kill-tag)

Documentation

Take the current tag, place it in the tag ring, and kill it.

Killing the tag removes the text for that tag, and places it into the kill ring. Retrieve that text with C-y (yank).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/senator.el.gz
;;;###autoload
(defun senator-kill-tag ()
  "Take the current tag, place it in the tag ring, and kill it.
Killing the tag removes the text for that tag, and places it into
the kill ring.  Retrieve that text with \\[yank]."
  (interactive)
  (let ((ct (senator-copy-tag))) ;; this handles the reparse for us.
    (kill-region (semantic-tag-start ct)
                 (semantic-tag-end ct))
    (when (called-interactively-p 'interactive)
      (message "Use C-y to yank text.  \
Use `senator-yank-tag' for prototype insert."))))