unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69619: [PATCH] Do interactive mode tagging for locate.el
@ 2024-03-07 18:38 Charalampos Mitrodimas
  2024-03-09  7:27 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Charalampos Mitrodimas @ 2024-03-07 18:38 UTC (permalink / raw)
  To: 69619; +Cc: Charalampos Mitrodimas

* lisp/locate.el (locate-tags) (locate-find-directory,
locate-find-directory-other-window): Do interactive mode tagging.
---
 lisp/locate.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/locate.el b/lisp/locate.el
index d86e7fa678f..70328d5184e 100644
--- a/lisp/locate.el
+++ b/lisp/locate.el
@@ -559,7 +559,7 @@ locate-insert-header
 
 (defun locate-tags ()
   "Visit a tags table in `*Locate*' mode."
-  (interactive)
+  (interactive nil locate-mode)
   (if (locate-main-listing-line-p)
       (let ((tags-table (locate-get-filename)))
 	(and (y-or-n-p (format "Visit tags table %s? " tags-table))
@@ -589,7 +589,7 @@ locate-update
 
 (defun locate-find-directory ()
   "Visit the directory of the file mentioned on this line."
-  (interactive)
+  (interactive nil locate-mode)
   (if (locate-main-listing-line-p)
       (let ((directory-name (locate-get-dirname)))
 	(if (file-directory-p directory-name)
@@ -601,7 +601,7 @@ locate-find-directory
 
 (defun locate-find-directory-other-window ()
   "Visit the directory of the file named on this line in other window."
-  (interactive)
+  (interactive nil locate-mode)
   (if (locate-main-listing-line-p)
       (find-file-other-window (locate-get-dirname))
     (message "This command only works inside main listing.")))
-- 
2.39.3 (Apple Git-146)






^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-09  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-07 18:38 bug#69619: [PATCH] Do interactive mode tagging for locate.el Charalampos Mitrodimas
2024-03-09  7:27 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).