Function: TeX-unload-style
TeX-unload-style is a byte-compiled function defined in tex.el.
Signature
(TeX-unload-style STYLE &optional DIALECT-LIST)
Documentation
Forget that we once loaded STYLE.
If DIALECT-LIST is provided, the STYLE is only removed for those dialects in DIALECT-LIST.
See variable TeX-style-hook-dialect for supported dialects.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-unload-style (style &optional dialect-list)
"Forget that we once loaded STYLE.
If DIALECT-LIST is provided, the STYLE is only removed for those
dialects in DIALECT-LIST.
See variable `TeX-style-hook-dialect' for supported dialects."
(let ((style-data (assoc-string style TeX-style-hook-list)))
(if style-data
(let ((hooks (and dialect-list (TeX-keep-hooks-in-dialect (cdr style-data) dialect-list))))
(if hooks
(setcdr style-data hooks)
(setq TeX-style-hook-list (delq style-data TeX-style-hook-list)))))))