bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#71068: 30.0.50; Incorrect xref positions for eglot-execute


From: Dmitry Gutov
Subject: bug#71068: 30.0.50; Incorrect xref positions for eglot-execute
Date: Wed, 29 May 2024 04:37:00 +0300
User-agent: Mozilla Thunderbird

On 26/05/2024 11:00, Eshel Yaron wrote:
+    (or (and (re-search-forward (format cl--generic-find-defgeneric-regexp 
name)
+                                nil t)
+             (or (funcall search ":method[ \t\n]+"
+                          (save-excursion (end-of-defun) (point)))
+                 (not (goto-char (point-min)))))
+        (funcall search base-re)

Should the second clause also be wrapped in some save-excursion or similar?

And I'd probably change the order (looking for the variations on defmethod first), but that's not too important.





reply via email to

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