>From 12ee20bf56cb40c8cb4371ae24e36a6d057c204b Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Thu, 8 Oct 2015 22:22:09 +0200 Subject: [PATCH 3/4] Remove unused `prompt' from arguments list. * style/enumitem.el (LaTeX-arg-SetEnumitemKey): Remove unused `prompt' from arguments list. (LaTeX-arg-SetEnumitemValue): ditto. --- ChangeLog | 4 ++++ style/enumitem.el | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f699850..1754c48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2015-10-08 Arash Esbati + * style/enumitem.el (LaTeX-arg-SetEnumitemKey): Remove unused + `prompt' from arguments list. + (LaTeX-arg-SetEnumitemValue): ditto. + * style/listings.el (LaTeX-listings-key-val-options-local): New variable used for all key-val queries. ("listings-lstdefinestyle"): Add parsing support for diff --git a/style/enumitem.el b/style/enumitem.el index bca9203..dff94aa 100644 --- a/style/enumitem.el +++ b/style/enumitem.el @@ -221,7 +221,7 @@ key-val and the first item." (current-fill-column))) (LaTeX-fill-paragraph nil))) -(defun LaTeX-arg-SetEnumitemKey (optional &optional prompt) +(defun LaTeX-arg-SetEnumitemKey (optional) "Ask for a new key to be defined and add it to `LaTeX-enumitem-key-val-options-local'." (LaTeX-enumitem-update-key-val-options) @@ -239,7 +239,7 @@ key-val and the first item." ;; the elements and pass the result to ;; `LaTeX-add-enumitem-SetEnumitemValues'. It will vanish upon next ;; invocation of `C-c C-n'. -(defun LaTeX-arg-SetEnumitemValue (optional &optional prompt) +(defun LaTeX-arg-SetEnumitemValue (optional) "Ask for a new value added to an existing key incl. the final replacement of the value." (LaTeX-enumitem-update-key-val-options) -- 2.6.0