[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8c50334 3/4: speedbar: remove support for missing c
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master 8c50334 3/4: speedbar: remove support for missing custom.el |
Date: |
Wed, 25 Apr 2018 14:48:56 -0400 (EDT) |
branch: master
commit 8c50334ad701dbf4141f8e80e9fb488c7c8de861
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
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 a231163..48829d4 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.