Function: ebrowse-move-point-to-member

ebrowse-move-point-to-member is a byte-compiled function defined in ebrowse.el.gz.

Signature

(ebrowse-move-point-to-member NAME &optional COUNT)

Documentation

Set point on member NAME in the member buffer.

COUNT, if specified, says search the COUNT'th member with the same name.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ebrowse.el.gz
(cl-defun ebrowse-move-point-to-member (name &optional count &aux member)
  "Set point on member NAME in the member buffer.
COUNT, if specified, says search the COUNT'th member with the same name."
  (goto-char (point-min))
  (widen)
  (setq member
	(substring name 0 (min (length name) (1- ebrowse--column-width)))
	ebrowse--last-regexp
	(concat "[ \t\n]" (regexp-quote member) "[ \n\t]"))
  (if (re-search-forward ebrowse--last-regexp nil t count)
      (goto-char (1+ (match-beginning 0)))
    (error "Not found")))