From 0d3b0c61f4f44c3d8770b89edffe481aaf56f4f1 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 5 May 2023 20:29:11 -0700 Subject: [PATCH] protobuf-mode: Remove no-op easy-menu-add call. (#12674) easy-menu-add has always been a no-op in GNU emacs. It did something in XEmacs, but XEmacs is dead. Closes #12674 COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12674 from benjaminp:easy-menu a08e74443c4f368d82f2308f1e50a5e115b81071 PiperOrigin-RevId: 529877848 --- editors/protobuf-mode.el | 1 - 1 file changed, 1 deletion(-) diff --git a/editors/protobuf-mode.el b/editors/protobuf-mode.el index e97b95cf38..7d14e1d54d 100644 --- a/editors/protobuf-mode.el +++ b/editors/protobuf-mode.el @@ -206,7 +206,6 @@ Key bindings: (c-initialize-cc-mode t) (c-init-language-vars protobuf-mode) (c-common-init 'protobuf-mode) - (easy-menu-add protobuf-menu) (setq imenu-generic-expression '(("Message" "^[[:space:]]*message[[:space:]]+\\([[:alnum:]]+\\)" 1) ("Enum" "^[[:space:]]*enum[[:space:]]+\\([[:alnum:]]+\\)" 1)