mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
emacs: update speedbar variables to hide directories and files
This commit is contained in:
parent
d33751d21a
commit
b6fca99207
|
|
@ -281,6 +281,8 @@ With optional argument FRAME, return the list of buffers of FRAME."
|
|||
speedbar-window-max-width 60)
|
||||
(setq speedbar-indentation-width 4)
|
||||
(setq speedbar-show-unknown-files t)
|
||||
(setq speedbar-directory-unshown-regexp "\\`\\.\\.?\\'")
|
||||
(setq speedbar-file-unshown-regexp "\\`0123456789abcdefghijklmnopqrstuvwxyz\\'") ; nonsense here because I cannot set this to nil
|
||||
(prot-emacs-hook speedbar-visiting-tag-hook (speedbar-recenter speedbar-highlight-one-tag-line))
|
||||
|
||||
(defun prot/speedbar-imenu-flatten (elements)
|
||||
|
|
|
|||
|
|
@ -7084,6 +7084,8 @@ flatten it because I do not like the default grouping behaviour.
|
|||
speedbar-window-max-width 60)
|
||||
(setq speedbar-indentation-width 4)
|
||||
(setq speedbar-show-unknown-files t)
|
||||
(setq speedbar-directory-unshown-regexp "\\`\\.\\.?\\'")
|
||||
(setq speedbar-file-unshown-regexp "\\`0123456789abcdefghijklmnopqrstuvwxyz\\'") ; nonsense here because I cannot set this to nil
|
||||
(prot-emacs-hook speedbar-visiting-tag-hook (speedbar-recenter speedbar-highlight-one-tag-line))
|
||||
|
||||
(defun prot/speedbar-imenu-flatten (elements)
|
||||
|
|
|
|||
Loading…
Reference in a new issue