branch: externals/auctex
commit ec3996d7ff1d9e0f2a404a74f1f6305c6e1a9e5b
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Query for optional float position
* style/newfloat.el (LaTeX-newfloat-auto-cleanup): Query for
optional float position.
---
style/newfloat.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/style/newfloat.el b/style/newfloat.el
index 166eff5..41d2b52 100644
--- a/style/newfloat.el
+++ b/style/newfloat.el
@@ -116,7 +116,7 @@ If `caption.el' is loaded, add the new floating environment
to
(reftex-add-label-environments
`((,flt ?t ,LaTeX-table-label "~\\ref{%s}" caption nil nil)))))
((string-equal type "verbatim")
- (LaTeX-add-environments flt)
+ (LaTeX-add-environments `(,flt ["Float Position"]))
(add-to-list (make-local-variable 'LaTeX-indent-environment-list)
`(,flt current-indentation) t)
(add-to-list 'LaTeX-label-alist `(,flt . "lst:") t)
@@ -124,7 +124,7 @@ If `caption.el' is loaded, add the new floating environment
to
(reftex-add-label-environments
`((,flt ?l "lst:" "~\\ref{%s}" caption nil nil)))))
(t
- (LaTeX-add-environments flt)))
+ (LaTeX-add-environments `(,flt ["Float Position"]))))
(when (boundp 'LaTeX-caption-supported-float-types)
(add-to-list (make-local-variable 'LaTeX-caption-supported-float-types)
flt))