I'm sending a better patch. Just for reference, this is the diff with the previous patch: ---------------------------------------------------------------------------- --- a/latex.el +++ b/latex.el @@ -1832,10 +1832,10 @@ OPTIONAL is ignored." "Options: " (mapcar 'list (symbol-value var))) ",")))) (setq options (read-string "Options: "))) - (when options + (unless (zerop (length options)) (let ((opts (LaTeX-listify-package-options options))) (TeX-add-to-alist 'LaTeX-provided-package-options - (list (add-to-list 'opts package)))) + (list (cons package opts)))) (TeX-argument-insert options t) ;; When `babel' package is loaded with options, load also language ;; style files. ----------------------------------------------------------------------------
Is there a policy for git commit message in AUCTeX? I've used CVS commit message style, but probably in git this is redundant. Bye, Mosè Giordano
0001-latex.el-LaTeX-provided-class-options-New-buffer-loc.patch
Description: Binary data
_______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel