Skip to content

Commit

Permalink
Split library into outline sections
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Jul 10, 2020
1 parent 43bd57b commit 1e96ed2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions elisp-refs.el
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
(require 'format)
(eval-when-compile (require 'cl-lib))

;;; Internal

(defvar elisp-refs-verbose t)

(defun elisp-refs--format-int (integer)
Expand Down Expand Up @@ -656,6 +658,8 @@ t."
(when (funcall filter (read sym))
sym))))))

;;; Commands

;;;###autoload
(defun elisp-refs-function (symbol &optional path-prefix)
"Display all the references to function SYMBOL, in all loaded
Expand Down Expand Up @@ -758,6 +762,8 @@ search."
(elisp-refs--read-and-find-symbol buf symbol))
path-prefix))

;;; Mode

(defvar elisp-refs-mode-map
(let ((map (make-sparse-keymap)))
;; TODO: it would be nice for TAB to navigate to file buttons too,
Expand Down

0 comments on commit 1e96ed2

Please sign in to comment.