aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2020-10-27 22:32:37 +0100
committerStefan Kangas2020-10-27 22:32:37 +0100
commit12505df89f64c4a0fc77f6deebf513eb41bc1106 (patch)
tree02716fc478c31ef3dffd6e24920a0fb3c0719233
parent8c8349e4b57e9772b673cea2594f0a1e01a6f356 (diff)
downloademacs-12505df89f64c4a0fc77f6deebf513eb41bc1106.tar.gz
emacs-12505df89f64c4a0fc77f6deebf513eb41bc1106.zip
Remove some Emacs 20 compat code from speedbar.el
* lisp/speedbar.el (speedbar-easymenu-definition-trailer): Remove Emacs 20 compat code.
-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
899 "Additional menu items while in file-mode.") 899 "Additional menu items while in file-mode.")
900 900
901(defvar speedbar-easymenu-definition-trailer 901(defvar speedbar-easymenu-definition-trailer
902 (append 902 '(["Customize..." speedbar-customize t]
903 (if (and (featurep 'custom) (fboundp 'custom-declare-variable))
904 (list ["Customize..." speedbar-customize t]))
905 (list
906 ["Close" dframe-close-frame t] 903 ["Close" dframe-close-frame t]
907 ["Quit" delete-frame t] )) 904 ["Quit" delete-frame t])
908 "Menu items appearing at the end of the speedbar menu.") 905 "Menu items appearing at the end of the speedbar menu.")
909 906
910(defvar speedbar-desired-buffer nil 907(defvar speedbar-desired-buffer nil