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

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

[elpa] externals/javaimp 46a2a68bfc: Small fixes


From: Filipp Gunbin
Subject: [elpa] externals/javaimp 46a2a68bfc: Small fixes
Date: Thu, 12 May 2022 08:55:26 -0400 (EDT)

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

    Small fixes
---
 javaimp-parse.el | 3 +++
 javaimp.el       | 8 ++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/javaimp-parse.el b/javaimp-parse.el
index 64f6797fcf..b82257b6a0 100644
--- a/javaimp-parse.el
+++ b/javaimp-parse.el
@@ -79,6 +79,9 @@ regexp.  First group is directive, second group is 
identifier."
     (modify-syntax-entry ?< "(>" st)
     (modify-syntax-entry ?> ")<" st)
     (modify-syntax-entry ?. "_" st) ; separates parts of fully-qualified type
+    ;; Override prefix syntax so that scan-sexps right after @ in
+    ;; annotation doesn't ignore it.
+    (modify-syntax-entry ?@ "_" st)
     st)
   "Enables parsing angle brackets as lists")
 
diff --git a/javaimp.el b/javaimp.el
index 840f34594a..5ea948d9f2 100644
--- a/javaimp.el
+++ b/javaimp.el
@@ -1226,8 +1226,12 @@ PREV-INDEX gives the index of the method itself."
 ;;;###autoload
 (define-minor-mode javaimp-minor-mode
   "Javaimp minor mode.
-When enabled, provides Imenu support and navigation functions
-using Javaimp facilities.
+When enabled, provides Imenu support, Xref support and navigation
+functions using Javaimp facilities.
+
+Set `narrow-to-defun-include-comments' to non-nil if you want
+defun javadoc to be included in the narrowed region when using
+\\[narrow-to-defun].
 
 \\{javaimp-minor-mode-map}"
   :lighter " JavaImp"



reply via email to

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