Browse Source

babel: Docstring improvement

	* org-src.el (org-edit-src-code): Improve docstring

Patch from Richard Riley
Dan Davison 14 years ago
parent
commit
49d63185cc
1 changed files with 8 additions and 5 deletions
  1. 8 5
      lisp/org-src.el

+ 8 - 5
lisp/org-src.el

@@ -196,11 +196,14 @@ There is a mode hook, and keybindings for `org-edit-src-exit' and
 
 (defun org-edit-src-code (&optional context code edit-buffer-name quietp)
   "Edit the source code example at point.
-The example is copied to a separate buffer, and that buffer is switched
-to the correct language mode.  When done, exit with \\[org-edit-src-exit].
-This will remove the original code in the Org buffer, and replace it with
-the edited version. Optional argument CONTEXT is used by
-\\[org-edit-src-save] when calling this function."
+The example is copied to a separate buffer, and that buffer is
+switched to the correct language mode.  When done, exit with
+\\[org-edit-src-exit].  This will remove the original code in the
+Org buffer, and replace it with the edited version. Optional
+argument CONTEXT is used by \\[org-edit-src-save] when calling
+this function. See \\[org-src-window-setup] to configure the
+display of windows containing the Org buffer and the code
+buffer."
   (interactive)
   (unless (eq context 'save)
     (setq org-edit-src-saved-temp-window-config (current-window-configuration)))