summaryrefslogtreecommitdiff
path: root/lisp/speedbar.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-10-27 22:32:37 +0100
committerStefan Kangas <stefan@marxist.se>2020-10-27 22:32:37 +0100
commit12505df89f64c4a0fc77f6deebf513eb41bc1106 (patch)
tree02716fc478c31ef3dffd6e24920a0fb3c0719233 /lisp/speedbar.el
parent8c8349e4b57e9772b673cea2594f0a1e01a6f356 (diff)
downloademacs-12505df89f64c4a0fc77f6deebf513eb41bc1106.tar.gz
Remove some Emacs 20 compat code from speedbar.el
* lisp/speedbar.el (speedbar-easymenu-definition-trailer): Remove Emacs 20 compat code.
Diffstat (limited to 'lisp/speedbar.el')
-rw-r--r--lisp/speedbar.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index 9c5f028e4ab..991c8a33d46 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -899,12 +899,9 @@ This basically creates a sparse keymap, and makes its parent be
"Additional menu items while in file-mode.")
(defvar speedbar-easymenu-definition-trailer
- (append
- (if (and (featurep 'custom) (fboundp 'custom-declare-variable))
- (list ["Customize..." speedbar-customize t]))
- (list
+ '(["Customize..." speedbar-customize t]
["Close" dframe-close-frame t]
- ["Quit" delete-frame t] ))
+ ["Quit" delete-frame t])
"Menu items appearing at the end of the speedbar menu.")
(defvar speedbar-desired-buffer nil