[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/tex-bar.el,v
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] Changes to auctex/tex-bar.el,v |
Date: |
Thu, 20 Dec 2012 08:20:47 +0000 |
CVSROOT: /sources/auctex
Module name: auctex
Changes by: Tassilo Horn <tsdh> 12/12/20 08:20:46
Index: tex-bar.el
===================================================================
RCS file: /sources/auctex/auctex/tex-bar.el,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- tex-bar.el 2 Aug 2008 20:19:39 -0000 1.23
+++ tex-bar.el 20 Dec 2012 08:20:46 -0000 1.24
@@ -84,7 +84,7 @@
(defcustom TeX-bar-TeX-buttons
'(new-file open-file dired kill-buffer save-buffer cut copy paste undo
- [separator nil] tex next-error view bibtex)
+ [separator nil] tex next-error view bibtex spell)
"List of buttons available in `tex-mode'.
It should be a list in the same format of the BUTTONS parameter
in function `toolbarx-install-toolbar', often a symbol that
@@ -114,7 +114,8 @@
(const view)
(const file)
(const bibtex)
- (const clean))
+ (const clean)
+ (const spell))
;; (const latex-symbols-experimental)
(repeat (choice (symbol :tag "Label")
(vector :args ((symbol :tag "Label in Emacs ")
@@ -196,7 +197,11 @@
(clean :image "delete"
:command (TeX-command "Clean" 'TeX-master-file -1)
:help (lambda (&rest ignored)
- (TeX-bar-help-from-command-list "Clean"))))
+ (TeX-bar-help-from-command-list "Clean")))
+ (spell :image "view" ;; TODO: We probably want a custom icon.
+ :command (TeX-command "Spell" 'TeX-master-file -1)
+ :help (lambda (&rest ignored)
+ (TeX-bar-help-from-command-list "Spell"))))
;; latex-symbols-experimental?
"Alist for button definitions in TeX bar.
Value should le a list where each element is of format (KEY .
- [AUCTeX-diffs] Changes to auctex/tex-bar.el,v,
Tassilo Horn <=