tangle: Fix :version keyword of org-babel-tangle-default-file-mode

* lisp/ob-tangle.el (org-babel-tangle-default-file-mode): Prefer
":package-version" to ":version".

The :version keyword should correspond to the Emacs version.  Using
the Org version leads to an incorrect help message:

  This variable was introduced, or its default value was changed, in
  version 9.6 of Emacs.

Instead go through :package-version so that the displayed message is

  This variable was introduced, or its default value was changed, in
  version 9.6 of the Org package that is part of Emacs 29.1.
This commit is contained in:
Kyle Meyer 2021-11-20 14:36:21 -05:00
parent 58cc9efd7d
commit 27edae8ced
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ result. The default value is `org-remove-indentation'."
The default value 356 correspands to the octal #o544, which is
read-write permissions for the user, read-only for everyone else."
:group 'org-babel
:version "9.6"
:package-version '(Org . "9.6")
:type 'integer)
(defun org-babel-find-file-noselect-refresh (file)