summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-05-01 10:03:17 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-05-01 10:03:17 +0200
commitd289eb936128973e518174548db88250b9c0b6e6 (patch)
tree0641a946030383659f4f18bb9a59336d6129c126
parent0046955e23a12159b233ff4b1c5a60dc230cd91a (diff)
downloadorg-mode-d289eb936128973e518174548db88250b9c0b6e6.tar.gz
org-src: Fix docstrings
* lisp/org-src.el (org-src-mode-hook): (org-edit-src-code): Fix docstrings.
-rw-r--r--lisp/org-src.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/org-src.el b/lisp/org-src.el
index 10d95f8..f0ad70f 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -155,7 +155,7 @@ other-frame Use `switch-to-buffer-other-frame' to display edit buffer.
(const reorganize-frame)))
(defvar org-src-mode-hook nil
- "Hook run after Org switched a source code snippet to its Emacs mode.
+ "Hook run after Org switched a source code snippet to its Emacs mode.
\\<org-mode-map>
This hook will run:
- when editing a source code snippet with \\[org-edit-special]
@@ -772,13 +772,13 @@ Throw an error when not at an export block."
(defun org-edit-src-code (&optional code edit-buffer-name)
"Edit the source or example block at point.
-
+\\<org-src-mode-map>
The code is copied to a separate buffer and the appropriate mode
-is turned on. 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. See `org-src-window-setup' to configure
-the display of windows containing the Org buffer and the code
-buffer.
+is turned on. 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. See `org-src-window-setup' to configure the display of
+windows containing the Org buffer and the code buffer.
When optional argument CODE is a string, edit it in a dedicated
buffer instead.