Function: speedbar-update-contents

speedbar-update-contents is an interactive and byte-compiled function defined in speedbar.el.gz.

Signature

(speedbar-update-contents)

Documentation

Generically update the contents of the speedbar buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/speedbar.el.gz
;;; Timed functions
;;
(defun speedbar-update-contents ()
  "Generically update the contents of the speedbar buffer."
  (interactive)
  ;; Set the current special buffer
  (setq speedbar-desired-buffer nil)

  ;; Check for special modes
  (speedbar-maybe-add-localized-support (current-buffer))

  ;; Choose the correct method of doodling.
  (if (and speedbar-mode-specific-contents-flag
	   (consp speedbar-special-mode-expansion-list)
	   (local-variable-p
	    'speedbar-special-mode-expansion-list
	    (current-buffer)))
      ;;(eq (get major-mode 'mode-class 'special)))
      (speedbar-update-special-contents)
    (speedbar-update-directory-contents)))