unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
blob a618df5fb755945befe51c5e130f59245b99609a 1551 bytes (raw)
name: gnu/packages/patches/haskell-mode-removed-unused-lexical-variables.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 
From cee22450ee30e79952f594796721dc6b17798ee6 Mon Sep 17 00:00:00 2001
From: Sascha Wilde <wilde@sha-bang.de>
Date: Fri, 23 Sep 2016 15:35:59 +0200
Subject: [PATCH] Removed unused lexical variables.

---
 haskell-lexeme.el  | 3 +--
 haskell-process.el | 4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/haskell-lexeme.el b/haskell-lexeme.el
index 4256a79..b832560 100644
--- a/haskell-lexeme.el
+++ b/haskell-lexeme.el
@@ -138,8 +138,7 @@ When match is successful, match-data will contain:
   (match-text 2) - whole qualified identifier
   (match-text 3) - unqualified part of identifier
   (match-text 4) - closing backtick"
-  (let ((begin (point))
-        (match-data-old (match-data))
+  (let ((match-data-old (match-data))
         first-backtick-start
         last-backtick-start
         qid-start
diff --git a/haskell-process.el b/haskell-process.el
index b4efba2..4f3f859 100644
--- a/haskell-process.el
+++ b/haskell-process.el
@@ -160,9 +160,7 @@ HPTYPE is the result of calling `'haskell-process-type`' function."
 (defun haskell-process-log (msg)
   "Effective append MSG to the process log (if enabled)."
   (when haskell-process-log
-    (let* ((append-to (get-buffer-create "*haskell-process-log*"))
-           (windows (get-buffer-window-list append-to t t))
-           move-point-in-windows)
+    (let* ((append-to (get-buffer-create "*haskell-process-log*")))
       (with-current-buffer append-to
         ;; point should follow insertion so that it stays at the end
         ;; of the buffer
-- 
2.11.0


debug log:

solving a618df5fb ...
found a618df5fb in https://yhetil.org/guix-bugs/alpine.DEB.2.20.1806081534020.1480@marsh.hcoop.net/ ||
	https://yhetil.org/guix-bugs/alpine.DEB.2.20.1807201526550.11087@marsh.hcoop.net/

applying [1/1] https://yhetil.org/guix-bugs/alpine.DEB.2.20.1806081534020.1480@marsh.hcoop.net/
diff --git a/gnu/packages/patches/haskell-mode-removed-unused-lexical-variables.patch b/gnu/packages/patches/haskell-mode-removed-unused-lexical-variables.patch
new file mode 100644
index 000000000..a618df5fb

1:46: trailing whitespace.
-- 
Checking patch gnu/packages/patches/haskell-mode-removed-unused-lexical-variables.patch...
1:48: new blank line at EOF.
+
Applied patch gnu/packages/patches/haskell-mode-removed-unused-lexical-variables.patch cleanly.
warning: 2 lines add whitespace errors.

skipping https://yhetil.org/guix-bugs/alpine.DEB.2.20.1807201526550.11087@marsh.hcoop.net/ for a618df5fb
index at:
100644 a618df5fb755945befe51c5e130f59245b99609a	gnu/packages/patches/haskell-mode-removed-unused-lexical-variables.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).