[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 2353893bd0: Fix regression in vtable-goto-object
From: |
Lars Ingebrigtsen |
Subject: |
master 2353893bd0: Fix regression in vtable-goto-object |
Date: |
Wed, 9 Mar 2022 11:37:54 -0500 (EST) |
branch: master
commit 2353893bd04bfee7c7659a758cf7c5072121a90c
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix regression in vtable-goto-object
* lisp/emacs-lisp/vtable.el (vtable-goto-object): Fix moving to
the object.
---
lisp/emacs-lisp/vtable.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/vtable.el b/lisp/emacs-lisp/vtable.el
index 2c61996637..d8577c1976 100644
--- a/lisp/emacs-lisp/vtable.el
+++ b/lisp/emacs-lisp/vtable.el
@@ -167,7 +167,7 @@ Return the position of the object if found, and nil if not."
(let ((start (point)))
(vtable-beginning-of-table)
(save-restriction
- (narrow-to-region (point) (vtable-end-of-table))
+ (narrow-to-region (point) (save-excursion (vtable-end-of-table)))
(if (text-property-search-forward 'vtable-object object #'eq)
(progn
(forward-line -1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 2353893bd0: Fix regression in vtable-goto-object,
Lars Ingebrigtsen <=