]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/ebrowse.el: Prefer hash-tables to obarrays
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 27 Mar 2020 16:24:19 +0000 (12:24 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 27 Mar 2020 16:24:19 +0000 (12:24 -0400)
commit4710f28010e47e613d08ff46b788b6b0c8eb317f
treef1127a2a13de079f1364a0285837aa20a0dd1127
parentf98ee21c0e3d4e00569fdd9f2671fd8394ab8a65
* lisp/progmodes/ebrowse.el: Prefer hash-tables to obarrays

Remove redundant :group args.
Use `defvar-local` and `setq-local` where possible.

(ebrowse-some): Use seq-some instead.
(ebrowse-every): Use seq-every-p instead.
(ebrowse-position): Use seq-position.
(ebrowse--tree-table): Rename from `ebrowse--tree-obarray`.
Change all users to use a hash-table rather than an obarray.
(ebrowse-for-all-trees): Adjust to the table being a hash-table.
(ebrowse-tree-table-as-alist): Rename from `ebrowse-tree-obarray-as-alist`.
(ebrowse-build-tree-obarray): Rename from `ebrowse-build-tree-obarray`.
(ebrowse-tree-mode): Remove redundant setting of `ebrowse--tree-obarray`.
(ebrowse-set-tree-indentation, ebrowse-view-file-other-frame)
(ebrowse-last-completion-table): Rename from
ebrowse-last-completion-obarray.
(ebrowse-position): Make it a proper struct.
lisp/progmodes/ebrowse.el