Browse Source

Add ChangeLog entries for Dan's block indentation commits

Carsten Dominik 15 years ago
parent
commit
fd54dd9c66
2 changed files with 19 additions and 7 deletions
  1. 13 0
      lisp/ChangeLog
  2. 6 7
      lisp/org-src.el

+ 13 - 0
lisp/ChangeLog

@@ -1,3 +1,16 @@
+2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
+
+	* org-src.el (org-src-preserve-indentation): Document that this
+	variable is also used during export.
+
+	* org-exp.el (org-export-format-source-code-or-example): Preserve
+	indentation if a block has a -i option, or if
+	`org-src-preserve-indentation' is set.
+
+	* org-exp-blocks.el (org-export-blocks-preprocess): Preserve
+	indentation if a block has a -i option, or if
+	`org-src-preserve-indentation' is set.
+
 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
 
 	* org.el (org-mode-map): Define the new archiving keys.

+ 6 - 7
lisp/org-src.el

@@ -87,13 +87,12 @@ These are the regions where each line starts with a colon."
 
 (defcustom org-src-preserve-indentation nil
   "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. If this variable
-  is nil then, 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'."
+blocks are preserved on export, and when switching between the
+org buffer and the language mode edit buffer. If this variable
+is nil then, 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)