mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* cedet/semantic.el (semantic-mode): Parse all existing buffers when
enabled.
This commit is contained in:
parent
82481502da
commit
d436f538ab
2 changed files with 5 additions and 1 deletions
|
|
@ -1075,7 +1075,10 @@ Semantic mode.
|
|||
(file-exists-p semanticdb-default-system-save-directory))
|
||||
(require 'semantic/db-ebrowse)
|
||||
(semanticdb-load-ebrowse-caches)))
|
||||
(add-hook 'mode-local-init-hook 'semantic-new-buffer-fcn))
|
||||
(add-hook 'mode-local-init-hook 'semantic-new-buffer-fcn)
|
||||
(dolist (b (buffer-list))
|
||||
(with-current-buffer b
|
||||
(semantic-new-buffer-fcn))))
|
||||
;; Disable all Semantic features.
|
||||
(remove-hook 'mode-local-init-hook 'semantic-new-buffer-fcn)
|
||||
;; FIXME: handle semanticdb-load-ebrowse-caches
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue