1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Minor fixes after preloading easymenu

* lisp/cedet/ede/dired.el:
* lisp/dired-x.el:
* lisp/filesets.el:
* lisp/follow.el:
* lisp/gnus/gnus-registry.el:
* lisp/net/eudc.el:
* lisp/printing.el:
* lisp/recentf.el:
* lisp/speedbar.el: Remove redundant require of easymenu; it is now
preloaded.
* lisp/org/org.el:
* lisp/progmodes/antlr-mode.el:
* lisp/progmodes/vhdl-mode.el:
* lisp/textmodes/reftex.el: Don't require easymenu in Emacs 28 or
later.

* etc/NEWS: Announce that 'easymenu' is now preloaded.
This commit is contained in:
Stefan Kangas 2021-02-27 18:43:20 +01:00
parent a4d7235f1a
commit b34d39170b
14 changed files with 11 additions and 15 deletions

View File

@ -2387,6 +2387,9 @@ This can be used to control whether the defined mode is a command
or not, and is useful when defining commands that aren't meant to be
used by users directly.
---
** The 'easymenu' library is now preloaded.
** The 'values' variable is now obsolete.
---

View File

@ -30,7 +30,6 @@
;;; Code:
(require 'easymenu)
(require 'dired)
(require 'ede)

View File

@ -236,8 +236,6 @@ to nil: a pipe using `zcat' or `gunzip -c' will be used."
;;; MENU BINDINGS
(require 'easymenu)
(when-let ((menu (lookup-key dired-mode-map [menu-bar])))
(easy-menu-add-item menu '("Operate")
["Find Files" dired-do-find-marked-files

View File

@ -90,7 +90,6 @@
(require 'cl-lib)
(require 'seq)
(require 'easymenu)
;;; Some variables

View File

@ -201,7 +201,6 @@
;;; Code:
(require 'easymenu)
(eval-when-compile (require 'cl-lib))
;;; Variables

View File

@ -88,7 +88,6 @@
(require 'gnus-art)
(require 'gnus-util)
(require 'nnmail)
(require 'easymenu)
(require 'registry)
(defvar gnus-adaptive-word-syntax-table)

View File

@ -1052,8 +1052,6 @@ queries the server for the existing fields and displays a corresponding form."
;;{{{ Menus and keymaps
(require 'easymenu)
(defconst eudc-custom-generated-menu (cdr (custom-menu-create 'eudc)))
(defconst eudc-tail-menu

View File

@ -4757,7 +4757,8 @@ This is for getting out of special buffers like capture.")
;; Other stuff we need.
(require 'time-date)
(unless (fboundp 'time-subtract) (defalias 'time-subtract 'subtract-time))
(require 'easymenu)
(when (< emacs-major-version 28) ; preloaded in Emacs 28
(require 'easymenu))
(require 'org-entities)
(require 'org-faces)

View File

@ -1014,7 +1014,6 @@ Please send all bug fixes and enhancements to
(require 'lpr)
(require 'ps-print)
(require 'easymenu)
(and (string< ps-print-version "6.6.4")
(error "`printing' requires `ps-print' package version 6.6.4 or later"))

View File

@ -84,7 +84,8 @@
(eval-when-compile (require 'cl-lib))
(require 'easymenu)
(when (< emacs-major-version 28) ; preloaded in Emacs 28
(require 'easymenu))
(require 'cc-mode)
;; More compile-time-macros

View File

@ -2159,7 +2159,8 @@ your style, only those that are different from the default.")
;; mandatory
(require 'compile) ; XEmacs
(require 'easymenu)
(when (< emacs-major-version 28) ; preloaded in Emacs 28
(require 'easymenu))
(require 'hippie-exp)
;; optional (minimize warning messages during compile)

View File

@ -37,7 +37,6 @@
;;
;;; Code:
(require 'easymenu)
(require 'tree-widget)
(require 'timer)

View File

@ -106,7 +106,6 @@
;;; TODO:
;; - Timeout directories we haven't visited in a while.
(require 'easymenu)
(require 'dframe)
(require 'ezimage)

View File

@ -51,7 +51,8 @@
;;; Code:
(eval-when-compile (require 'cl-lib))
(require 'easymenu)
(when (< emacs-major-version 28) ; preloaded in Emacs 28
(require 'easymenu))
(defvar reftex-tables-dirty t
"Flag showing if tables need to be re-computed.")