Function: speedbar-navigate-list

speedbar-navigate-list is an interactive and byte-compiled function defined in speedbar.el.gz.

Signature

(speedbar-navigate-list ARG)

Documentation

Move across ARG groups of similarly typed items in speedbar.

Stop on the first line of the next type of item, or on the last or first item if we reach a buffer boundary.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/speedbar.el.gz
(defun speedbar-navigate-list (arg)
  "Move across ARG groups of similarly typed items in speedbar.
Stop on the first line of the next type of item, or on the last or first item
if we reach a buffer boundary."
  (interactive "p")
  (beginning-of-line)
  (if (looking-at "[0-9]+: *[[<{][-+?][]>}] ")
      (let ((str (regexp-quote (match-string 0))))
	(while (looking-at str)
	  (speedbar-restricted-move arg)
	  (beginning-of-line))))
  (speedbar-position-cursor-on-line))