]> git.eshelyaron.com Git - emacs.git/commitdiff
speedbar: remove support for missing custom.el
authorGlenn Morris <rgm@gnu.org>
Wed, 25 Apr 2018 18:43:18 +0000 (14:43 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 25 Apr 2018 18:43:18 +0000 (14:43 -0400)
* lisp/speedbar.el (speedbar-file-regexp)
(speedbar-ignored-directory-regexp): Remove support for no custom.el.

lisp/speedbar.el

index a2311637150387d52daad3707544a31e659ced12..48829d4023fcd4f72c69d54cc772368acec6fbc3 100644 (file)
@@ -741,13 +741,6 @@ DIRECTORY-EXPRESSION to `speedbar-ignored-directory-expressions'."
   (setq speedbar-ignored-directory-regexp (speedbar-extension-list-to-regex
                                      speedbar-ignored-directory-expressions)))
 
-;; If we don't have custom, then we set it here by hand.
-(if (not (fboundp 'custom-declare-variable))
-    (setq speedbar-file-regexp (speedbar-extension-list-to-regex
-                               speedbar-supported-extension-expressions)
-         speedbar-ignored-directory-regexp (speedbar-extension-list-to-regex
-                                       speedbar-ignored-directory-expressions)))
-
 (defcustom speedbar-update-flag dframe-have-timer-flag
   "Non-nil means to automatically update the display.
 When this is nil then speedbar will not follow the attached frame's directory.