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:
parent
4b25ffd3b8
commit
fddf68cd81
@ -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
|
||||||
|
@ -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'.")
|
||||||
|
|
||||||
|
@ -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."
|
||||||
|
@ -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)
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(require 'button)
|
|
||||||
(require 'cl-lib)
|
(require 'cl-lib)
|
||||||
(eval-when-compile (require 'easymenu))
|
(eval-when-compile (require 'easymenu))
|
||||||
|
|
||||||
|
@ -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."
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(require 'button)
|
|
||||||
|
|
||||||
|
|
||||||
;; User Options:
|
;; User Options:
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user