From 2353893bd04bfee7c7659a758cf7c5072121a90c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 9 Mar 2022 17:37:36 +0100 Subject: [PATCH] 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 2c61996637f..d8577c19762 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) -- 2.39.2