branch: master
commit 4c779087075875ce586c7051f024d845a1eb694b
Author: Tassilo Horn <[email protected]>
Commit: Tassilo Horn <[email protected]>
Fix \includegraphics key-vals prompt in beamer documents.
* style/beamer.el ("beamer"): Fix \includegraphics key-vals prompt in
beamer documents.
* style/overpic.el (LaTeX-arg-overpic-key-val): Fix
LaTeX-arg-overpic-key-val docstring which referred to the removed
function LaTeX-arg-graphicx-includegraphics-key-val.
---
style/beamer.el | 6 ++++--
style/overpic.el | 7 +++----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/style/beamer.el b/style/beamer.el
index 9a33b348..765519b9 100644
--- a/style/beamer.el
+++ b/style/beamer.el
@@ -70,7 +70,8 @@
(add-hook 'LaTeX-after-insert-env-hook #'LaTeX-beamer-after-insert-env nil
t)
(TeX-run-style-hooks "amsmath" "amssymb" "amsthm" "color" "geometry"
- "hyperref" "inputenc" "translator" "xcolor")
+ "hyperref" "inputenc" "translator" "xcolor"
+ "graphicx")
(LaTeX-section-list-add-locally
'(("part" 0)
@@ -160,7 +161,8 @@
'("hyperlinkdocumentend" [TeX-arg-beamer-overlay-spec] 1)
'("hypertarget" [TeX-arg-beamer-overlay-spec] "Target name" t)
'("includegraphics" [TeX-arg-beamer-overlay-spec]
- [LaTeX-arg-graphicx-includegraphics-key-val] LaTeX-arg-includegraphics)
+ [TeX-arg-key-val (LaTeX-graphicx-key-val-options) nil nil ?\s]
+ LaTeX-arg-includegraphics)
'("includeonlyframes" "Frame label(s)")
'("includeonlylecture" "Lecture label")
'("includeslide" ["Options"] "Label")
diff --git a/style/overpic.el b/style/overpic.el
index 52d51d0d..9022bb2f 100644
--- a/style/overpic.el
+++ b/style/overpic.el
@@ -55,10 +55,9 @@
"Insert key-val for optional argument of overpic environments.
If OPTIONAL is non-nil, insert argument in square brackets.
-This function is an variation of
-`LaTeX-arg-graphicx-includegraphics-key-val' where the key-val's
-in `LaTeX-overpic-key-val-options' are offered in addition to the
-ones provided by `LaTeX-graphicx-key-val-options'."
+The key-val's in `LaTeX-overpic-key-val-options' are offered in
+addition to the ones provided by
+`LaTeX-graphicx-key-val-options'."
(let ((crm-local-completion-map
(remove (assoc 32 crm-local-completion-map)
crm-local-completion-map))