branch: externals/auctex
commit 9fa3859fb9fe28c728c8a2b8fa4105b505241faf
Author: Ikumi Keita <[email protected]>
Commit: Ikumi Keita <[email protected]>
; Remove duplicates
* tex-bar.el (TeX-install-toolbar,LaTeX-install-toolbar): Remove
unnecessary `require'.
(TeX-bar-LaTeX-all-button-alists): Remove duplication of the same
`defgroup'.
---
tex-bar.el | 6 ------
1 file changed, 6 deletions(-)
diff --git a/tex-bar.el b/tex-bar.el
index 49e1b3c..0bfd431 100644
--- a/tex-bar.el
+++ b/tex-bar.el
@@ -211,7 +211,6 @@ format of the argument MEANING-ALIST in the mentioned
function."
(defun TeX-install-toolbar ()
"Install toolbar buttons for TeX mode."
(interactive)
- (require 'toolbar-x)
(add-to-list 'toolbarx-image-path
(expand-file-name "images" TeX-data-directory))
(add-hook 'TeX-PDF-mode-hook #'toolbarx-refresh nil t)
@@ -261,10 +260,6 @@ alists, see variable `TeX-bar-LaTeX-all-button-alists'."
(sexp :tag "General element"))))
:group 'TeX-tool-bar)
-(defgroup TeX-tool-bar-button-definitions nil
- "Collections of button definitions."
- :group 'TeX-tool-bar)
-
(defcustom TeX-bar-LaTeX-all-button-alists
'(TeX-bar-LaTeX-button-alist
toolbarx-default-toolbar-meaning-alist)
@@ -356,7 +351,6 @@ format of the argument MEANING-ALIST in the mentioned
function."
(defun LaTeX-install-toolbar ()
"Install toolbar buttons for LaTeX mode."
(interactive)
- (require 'toolbar-x)
(add-to-list 'toolbarx-image-path
(expand-file-name "images" TeX-data-directory))
(add-hook 'TeX-PDF-mode-hook #'toolbarx-refresh nil t)