Function: speedbar-toggle-etags
speedbar-toggle-etags is an interactive and byte-compiled function
defined in speedbar.el.gz.
Signature
(speedbar-toggle-etags FLAG)
Documentation
Toggle FLAG in speedbar-fetch-etags-arguments.
FLAG then becomes a member of etags command line arguments. If flag
is "sort", then toggle the value of speedbar-sort-tags. If its
value is "show" then toggle the value of
speedbar-show-unknown-files.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/speedbar.el.gz
(defun speedbar-toggle-etags (flag)
"Toggle FLAG in `speedbar-fetch-etags-arguments'.
FLAG then becomes a member of etags command line arguments. If flag
is \"sort\", then toggle the value of `speedbar-sort-tags'. If its
value is \"show\" then toggle the value of
`speedbar-show-unknown-files'."
(interactive)
(cond
((equal flag "sort")
(setq speedbar-sort-tags (not speedbar-sort-tags)))
((equal flag "show")
(setq speedbar-show-unknown-files (not speedbar-show-unknown-files)))
((or (equal flag "-C")
(equal flag "-S")
(equal flag "-D"))
(if (member flag speedbar-fetch-etags-arguments)
(setq speedbar-fetch-etags-arguments
(delete flag speedbar-fetch-etags-arguments))
(add-to-list 'speedbar-fetch-etags-arguments flag)))
(t nil)))