Просмотр исходного кода

Fix some docstrings format.

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

* ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
Bastien Guerry 13 лет назад
Родитель
Сommit
afe5eb140e
2 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      lisp/ob.el
  2. 2 2
      lisp/org-src.el

+ 2 - 2
lisp/ob.el

@@ -817,9 +817,9 @@ Return t if a code block was found at point, nil otherwise."
 (defun org-babel-do-key-sequence-in-edit-buffer (key)
 (defun org-babel-do-key-sequence-in-edit-buffer (key)
   "Read key sequence and execute the command in edit buffer.
   "Read key sequence and execute the command in edit buffer.
 Enter a key sequence to be executed in the language major-mode
 Enter a key sequence to be executed in the language major-mode
-edit buffer. For example, TAB will alter the contents of the
+edit buffer.  For example, TAB will alter the contents of the
 Org-mode code block according to the effect of TAB in the
 Org-mode code block according to the effect of TAB in the
-language major-mode buffer. For languages that support
+language major-mode buffer.  For languages that support
 interactive sessions, this can be used to send code from the Org
 interactive sessions, this can be used to send code from the Org
 buffer to the session for evaluation using the native major-mode
 buffer to the session for evaluation using the native major-mode
 evaluation mechanisms."
 evaluation mechanisms."

+ 2 - 2
lisp/org-src.el

@@ -207,9 +207,9 @@ There is a mode hook, and keybindings for `org-edit-src-exit' and
 The example is copied to a separate buffer, and that buffer is
 The example is copied to a separate buffer, and that buffer is
 switched to the correct language mode.  When done, exit with
 switched to the correct language mode.  When done, exit with
 \\[org-edit-src-exit].  This will remove the original code in the
 \\[org-edit-src-exit].  This will remove the original code in the
-Org buffer, and replace it with the edited version. Optional
+Org buffer, and replace it with the edited version.  An optional
 argument CONTEXT is used by \\[org-edit-src-save] when calling
 argument CONTEXT is used by \\[org-edit-src-save] when calling
-this function.  See \\[org-src-window-setup] to configure the
+this function.  See `org-src-window-setup' to configure the
 display of windows containing the Org buffer and the code
 display of windows containing the Org buffer and the code
 buffer."
 buffer."
   (interactive)
   (interactive)