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

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

[nongnu] elpa/haskell-tng-mode 85c4dd5 233/385: fix bugfix in goto-impor


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-tng-mode 85c4dd5 233/385: fix bugfix in goto-import
Date: Tue, 5 Oct 2021 23:59:37 -0400 (EDT)

branch: elpa/haskell-tng-mode
commit 85c4dd53e3a463a8a5b3b76f0898f15cb76b6cc6
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>

    fix bugfix in goto-import
---
 haskell-tng-contrib.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/haskell-tng-contrib.el b/haskell-tng-contrib.el
index 25fa70c..00a42ce 100644
--- a/haskell-tng-contrib.el
+++ b/haskell-tng-contrib.el
@@ -39,7 +39,7 @@
   "Hack to jump to imports"
   ;; TODO imenu navigation will replace this
   (interactive)
-  (re-search-backward (rx line-start "import")))
+  (re-search-backward (rx line-start "import" word-end)))
 
 ;;;###autoload
 (defun haskell-tng-current-module ()



reply via email to

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