emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 813614cff4 2/3: lisp/org-src.el: complete `org-src-


From: ELPA Syncer
Subject: [elpa] externals/org 813614cff4 2/3: lisp/org-src.el: complete `org-src-preserve-indentation' docstring
Date: Mon, 29 Jan 2024 12:58:43 -0500 (EST)

branch: externals/org
commit 813614cff4e2b5527400dd38b4c3396abe7ff387
Author: Gerard Vermeulen <gerard.vermeulen@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    lisp/org-src.el: complete `org-src-preserve-indentation' docstring
    
    * lisp/org-src.el (org-src-preserve-indentation): Add that this
    option is also honored by `org-indent-block'. Remove \\<org-mode-map>
    since such forms serve for major mode documentation strings.
---
 lisp/org-src.el | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/lisp/org-src.el b/lisp/org-src.el
index 14480c8366..de8d6ee42c 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -119,15 +119,16 @@ These are the regions where each line starts with a 
colon."
 
 (defcustom org-src-preserve-indentation nil
   "If non-nil preserve leading whitespace characters on export.
-\\<org-mode-map>
-If non-nil leading whitespace characters in source code blocks
-are preserved on export, and when switching between the org
-buffer and the language mode edit buffer.
-
-When this variable is nil, after editing with `\\[org-edit-src-code]',
-the minimum (across-lines) number of leading whitespace characters
-are removed from all lines, and the code block is uniformly indented
-according to the value of `org-edit-src-content-indentation'."
+
+If non-nil leading whitespace characters in source code blocks are
+preserved on export, or adjusted while indenting or when switching
+between the org buffer and the language mode edit buffer.
+
+When this variable is nil, while indenting with `\\[org-indent-block]'
+or after editing with `\\[org-edit-src-code]', the minimum (across-lines)
+number of leading whitespace characters are removed from all lines,
+and the code block is uniformly indented according to the value of
+`org-edit-src-content-indentation'."
   :group 'org-edit-structure
   :type 'boolean)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]