branch: elpa/rpm-spec-mode commit a7c4ece3e86d0fc4a1377b76591a3e99adc5ccac Author: Björn Bidar <bjorn.bi...@thaodan.de> Commit: Björn Bidar <bjorn.bi...@thaodan.de>
Remove obsolete use of (easy-menu-add) See Emacs's note on it: >This function is obsolete since 28.1; this was always a no-op in Emacs >and can be safely removed. > >(easy-menu-add &rest ARGUMENTS) > >Do nothing and return nil. >This function accepts any number of ARGUMENTS, but ignores them. >Also see ‘always’. Signed-off-by: Björn Bidar <bjorn.bi...@thaodan.de> --- rpm-spec-mode.el | 1 - 1 file changed, 1 deletion(-) diff --git a/rpm-spec-mode.el b/rpm-spec-mode.el index 21c3ee82f1..70fcc84e6e 100644 --- a/rpm-spec-mode.el +++ b/rpm-spec-mode.el @@ -710,7 +710,6 @@ with no args, if that value is non-nil." (require 'easymenu) (easy-menu-define rpm-spec-call-menu rpm-spec-mode-map "Post menu for `rpm-spec-mode'." rpm-spec-mode-menu) - (easy-menu-add rpm-spec-mode-menu) (if (and (= (buffer-size) 0) rpm-spec-initialize-sections) (run-hooks 'rpm-spec-mode-new-file-hook))