Function: bookmark-bmenu-filter-alist-by-regexp

bookmark-bmenu-filter-alist-by-regexp is a byte-compiled function defined in bookmark.el.gz.

Signature

(bookmark-bmenu-filter-alist-by-regexp REGEXP)

Documentation

Filter bookmark-alist with bookmarks matching REGEXP and rebuild list.

Source Code

;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
;;; Bookmark-bmenu search

(defun bookmark-bmenu-filter-alist-by-regexp (regexp)
  "Filter `bookmark-alist' with bookmarks matching REGEXP and rebuild list."
  (let ((bookmark-alist
         (cl-loop for i in bookmark-alist
                  when (string-match regexp (car i)) collect i into new
                  finally return new)))
    (bookmark-bmenu-list)))