 (defcustom svn-status-hide-unmodified nil
   "*Hide unmodified files in `svn-status-buffer-name' buffer.
 This can be toggled with \\[svn-status-toggle-hide-unmodified]."
+  :type 'boolean
+  :group 'psvn)
+(defcustom svn-status-hide-externals nil
+  "*Hide external files in `svn-status-buffer-name' buffer.
+This can be toggled with \\[svn-status-toggle-hide-externals]."
   :type 'boolean
   :group 'psvn)
 (defcustom svn-status-sort-status-buffer t

        (overlay)
        (unmodified-count 0)    ;how many unmodified files are hidden
        (unknown-count 0)       ;how many unknown files are hidden
        (custom-hide-count 0)   ;how many files are hidden via svn-status-custom-hide-function
        (marked-count 0)        ;how many files are elided
        (user-elide-count 0)

   ((fboundp 'vc-backend)
    (eq 'SVN (vc-backend buffer-file-name)))
   ((and (boundp 'vc-mode) vc-mode)
    (string-match "^ SVN" (svn-substring-no-properties vc-mode)))))

(when svn-status-fancy-file-state-in-modeline
  (defadvice vc-find-file-hook (after svn-status-vc-svn-find-file-hook activate)
