From 8c50334ad701dbf4141f8e80e9fb488c7c8de861 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 25 Apr 2018 14:43:18 -0400 Subject: [PATCH] speedbar: remove support for missing custom.el * lisp/speedbar.el (speedbar-file-regexp) (speedbar-ignored-directory-regexp): Remove support for no custom.el. --- lisp/speedbar.el | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lisp/speedbar.el b/lisp/speedbar.el index a2311637150..48829d4023f 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -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. -- 2.39.5