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

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

[elpa] externals/javaimp 2ac7afce3c: Use end-of-defun-moves-to-eol, vers


From: Filipp Gunbin
Subject: [elpa] externals/javaimp 2ac7afce3c: Use end-of-defun-moves-to-eol, version 0.9.1
Date: Fri, 5 Aug 2022 14:37:39 -0400 (EDT)

branch: externals/javaimp
commit 2ac7afce3c6f0b390c4b62c065a898883940d65a
Author: Filipp Gunbin <fgunbin@fastmail.fm>
Commit: Filipp Gunbin <fgunbin@fastmail.fm>

    Use end-of-defun-moves-to-eol, version 0.9.1
---
 javaimp.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/javaimp.el b/javaimp.el
index 500bf6f108..7d878b2bfc 100644
--- a/javaimp.el
+++ b/javaimp.el
@@ -4,7 +4,7 @@
 
 ;; Author: Filipp Gunbin <fgunbin@fastmail.fm>
 ;; Maintainer: Filipp Gunbin <fgunbin@fastmail.fm>
-;; Version: 0.9
+;; Version: 0.9.1
 ;; Keywords: java, maven, gradle, programming
 
 ;; This program is free software; you can redistribute it and/or modify
@@ -100,7 +100,7 @@
 ;; / module, it parses dependency archives, as well as JDK ones, and
 ;; it may take quite a while.
 ;;
-;; `javaimp-organize-import': command to organize imports in the
+;; `javaimp-organize-imports': command to organize imports in the
 ;; current buffer, sorting and deleting duplicates.
 ;;
 ;; If you don't visit a project, then Javaimp tries to determine
@@ -1308,6 +1308,7 @@ defun javadoc to be included in the narrowed region when 
using
         (add-hook 'xref-backend-functions #'javaimp-xref--backend nil t)
         (setq-local parse-sexp-ignore-comments t)
         (setq-local multibyte-syntax-as-symbol t)
+        (setq-local end-of-defun-moves-to-eol nil)
         ;; Discard parse state, if any
         (setq javaimp-parse--dirty-pos nil)
         (setq syntax-ppss-table java-mode-syntax-table)
@@ -1325,6 +1326,7 @@ defun javadoc to be included in the narrowed region when 
using
     (remove-hook 'xref-backend-functions #'javaimp-xref--backend t)
     (kill-local-variable 'parse-sexp-ignore-comments)
     (kill-local-variable 'multibyte-syntax-as-symbol)
+    (kill-local-variable 'end-of-defun-moves-to-eol)
     (kill-local-variable 'imenu-space-replacement)))
 
 



reply via email to

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