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

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

[nongnu] elpa/go-mode 98e66f7 142/495: add docstring to go--apply-rcs-pa


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 98e66f7 142/495: add docstring to go--apply-rcs-patch
Date: Sat, 7 Aug 2021 09:05:00 -0400 (EDT)

branch: elpa/go-mode
commit 98e66f776431bbf45b86ddd3333f7bd6bf6dde7f
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>

    add docstring to go--apply-rcs-patch
---
 go-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/go-mode.el b/go-mode.el
index 50579c6..9a2fb36 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -486,6 +486,8 @@ recommended that you look at goflymake
 (add-to-list 'auto-mode-alist (cons "\\.go\\'" 'go-mode))
 
 (defun go--apply-rcs-patch (patch-buffer)
+  "Apply an RCS-formatted diff from PATCH-BUFFER to the current
+buffer."
   (let ((target-buffer (current-buffer))
         ;; Relative offset between buffer line numbers and line numbers
         ;; in patch.



reply via email to

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