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

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

[nongnu] elpa/go-mode ec73086 157/495: remove unused code


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode ec73086 157/495: remove unused code
Date: Sat, 7 Aug 2021 09:05:03 -0400 (EDT)

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

    remove unused code
---
 go-mode.el | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/go-mode.el b/go-mode.el
index bc37dc9..030bf52 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -750,15 +750,6 @@ buffer. Tries to look for a URL at point."
     (while (search-forward "\\" end t)
       (put-text-property (1- (point)) (point) 'syntax-table (if (= 
(char-after) ?`) '(1) '(9))))))
 
-;; ;; Commented until we actually make use of this function
-;; (defun go--common-prefix (sequences)
-;;   ;; mismatch and reduce are cl
-;;   (assert sequences)
-;;   (flet ((common-prefix (s1 s2)
-;;                         (let ((diff-pos (mismatch s1 s2)))
-;;                           (if diff-pos (subseq s1 0 diff-pos) s1))))
-;;     (reduce #'common-prefix sequences)))
-
 (defun go-import-add (arg import)
   "Add a new import to the list of imports.
 



reply via email to

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