Function: semantic-symref-list-call-macro-on-open-hits

semantic-symref-list-call-macro-on-open-hits is an interactive and byte-compiled function defined in list.el.gz.

Signature

(semantic-symref-list-call-macro-on-open-hits)

Documentation

Call the most recently created keyboard macro on each hit.

Cursor is placed at the beginning of the symbol found, even if there is more than one symbol on the current line. The previously recorded macro is then executed.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/symref/list.el.gz
(defun semantic-symref-list-call-macro-on-open-hits ()
  "Call the most recently created keyboard macro on each hit.
Cursor is placed at the beginning of the symbol found, even if
there is more than one symbol on the current line.  The
previously recorded macro is then executed."
  (interactive)
  (save-window-excursion
    (let ((count (semantic-symref-list-map-open-hits
		  (lambda ()
		    (switch-to-buffer (current-buffer))
		    (kmacro-call-macro nil)))))
      (semantic-symref-list-update-open-hits)
      (message "Executed Macro %d times." count))))