1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

Remove redundant requires of 'button'

* lisp/apropos.el:
* lisp/emacs-lisp/cl-print.el:
* lisp/emacs-lisp/debug.el:
* lisp/emacs-lisp/ert.el:
* lisp/emacs-lisp/shadow.el:
* lisp/facemenu.el:
* lisp/help-mode.el:
* lisp/man.el:
* lisp/progmodes/etags.el:
* lisp/textmodes/bibtex.el:
* lisp/woman.el: Don't require 'button'; it is preloaded since version
23.1.
This commit is contained in:
Stefan Kangas 2020-12-02 15:49:56 +01:00
parent 4b25ffd3b8
commit fddf68cd81
11 changed files with 1 additions and 15 deletions

View File

@ -56,8 +56,6 @@
;;; Code: ;;; Code:
(require 'button)
(defgroup apropos nil (defgroup apropos nil
"Apropos commands for users and programmers." "Apropos commands for users and programmers."
:group 'help :group 'help

View File

@ -33,8 +33,6 @@
;;; Code: ;;; Code:
(require 'button)
(defvar cl-print-readably nil (defvar cl-print-readably nil
"If non-nil, try and make sure the result can be `read'.") "If non-nil, try and make sure the result can be `read'.")

View File

@ -29,7 +29,6 @@
(require 'cl-lib) (require 'cl-lib)
(require 'backtrace) (require 'backtrace)
(require 'button)
(defgroup debugger nil (defgroup debugger nil
"Debuggers and related commands for Emacs." "Debuggers and related commands for Emacs."

View File

@ -58,7 +58,6 @@
;;; Code: ;;; Code:
(require 'cl-lib) (require 'cl-lib)
(require 'button)
(require 'debug) (require 'debug)
(require 'backtrace) (require 'backtrace)
(require 'easymenu) (require 'easymenu)

View File

@ -183,7 +183,6 @@ See the documentation for `list-load-path-shadows' for further information."
buffer-read-only t)) buffer-read-only t))
;; TODO use text-properties instead, a la dired. ;; TODO use text-properties instead, a la dired.
(require 'button)
(define-button-type 'load-path-shadows-find-file (define-button-type 'load-path-shadows-find-file
'follow-link t 'follow-link t
;; 'face 'default ;; 'face 'default

View File

@ -86,8 +86,7 @@
;;; Code: ;;; Code:
(eval-when-compile (eval-when-compile
(require 'help) (require 'help))
(require 'button))
;; Global bindings: ;; Global bindings:
(define-key global-map [C-down-mouse-2] 'facemenu-menu) (define-key global-map [C-down-mouse-2] 'facemenu-menu)

View File

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

View File

@ -90,7 +90,6 @@
(require 'ansi-color) (require 'ansi-color)
(require 'cl-lib) (require 'cl-lib)
(require 'button)
(defgroup man nil (defgroup man nil
"Browse UNIX manual pages." "Browse UNIX manual pages."

View File

@ -34,7 +34,6 @@
;; prefixes but somewhere within the name. ;; prefixes but somewhere within the name.
(require 'ring) (require 'ring)
(require 'button)
(require 'xref) (require 'xref)
(require 'fileloop) (require 'fileloop)

View File

@ -40,8 +40,6 @@
;;; Code: ;;; Code:
(require 'button)
;; User Options: ;; User Options:

View File

@ -404,7 +404,6 @@
(make-obsolete-variable 'woman-version nil "28.1") (make-obsolete-variable 'woman-version nil "28.1")
(require 'man) (require 'man)
(require 'button)
(define-button-type 'WoMan-xref-man-page (define-button-type 'WoMan-xref-man-page
:supertype 'Man-abstract-xref-man-page :supertype 'Man-abstract-xref-man-page
'func (lambda (arg) 'func (lambda (arg)