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

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

[nongnu] elpa/markdown-mode a597d1c715 1/2: Fix functions with multiple


From: ELPA Syncer
Subject: [nongnu] elpa/markdown-mode a597d1c715 1/2: Fix functions with multiple docstrings
Date: Mon, 20 Jun 2022 09:58:47 -0400 (EDT)

branch: elpa/markdown-mode
commit a597d1c71520680ff0c361410300830d84a8992c
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Fix functions with multiple docstrings
---
 markdown-mode.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/markdown-mode.el b/markdown-mode.el
index ed9cfbfa64..0097d63db9 100644
--- a/markdown-mode.el
+++ b/markdown-mode.el
@@ -7678,20 +7678,18 @@ displaying the rendered output."
          (setq markdown-live-preview-source-buffer nil))))
 
 (defun markdown-live-preview-switch-to-output ()
-  "Switch to output buffer."
-  (interactive)
   "Turn on `markdown-live-preview-mode' if not already on, and switch to its
 output buffer in another window."
+  (interactive)
   (if markdown-live-preview-mode
       (markdown-display-buffer-other-window (markdown-live-preview-export)))
   (markdown-live-preview-mode))
 
 (defun markdown-live-preview-re-export ()
-  "Re export source buffer."
-  (interactive)
   "If the current buffer is a buffer displaying the exported version of a
 `markdown-live-preview-mode' buffer, call `markdown-live-preview-export' and
 update this buffer's contents."
+  (interactive)
   (when markdown-live-preview-source-buffer
     (with-current-buffer markdown-live-preview-source-buffer
       (markdown-live-preview-export))))



reply via email to

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