Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes: > I've (finally) followed the procedure and broken up the patch in two. One > for the labels= ,caption= and one for the language= control.
Thanks! You also need to provide etc/ORG-NEWS entry since we are adding a new feature here. > FYI, I have already cleared the FSF paperwork for an emacs patch. Bastien, could you kindly confirm? > Subject: [PATCH 2/2] Allow to suppress language= in SRC blocks Please also provide changelog entries. See https://orgmode.org/worg/org-contribute.html#commit-messages > +(defcustom org-latex-listings-src-omit-language nil > + "Set this option to t to omit the > +\"language=\" > +in the parameters to \\begin{lstlisting} when exporting a src block" Please describe in the docstring when this kind of setting is needed. > + :group 'org-export-latex > + :version "30.0" :version is not necessary. See 15.1 Common Item Keywords section of Elisp manual: ‘:version VERSION’ This keyword specifies that the item was first introduced in Emacs version VERSION, or that its default value was changed in that version. The value VERSION must be a string. ‘:package-version '(PACKAGE . VERSION)’ This keyword specifies that the item was first introduced in PACKAGE version VERSION, or that its meaning or default value was changed in that version. This keyword takes priority over ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ‘:version’. ^^^^^^^^^^^ -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>