[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 966e1be5b33: Do interactive mode tagging for locate.el
From: |
Eli Zaretskii |
Subject: |
master 966e1be5b33: Do interactive mode tagging for locate.el |
Date: |
Sat, 9 Mar 2024 02:27:01 -0500 (EST) |
branch: master
commit 966e1be5b337cf71f404a509cae4057b73f3f381
Author: Charalampos Mitrodimas <charmitro@posteo.net>
Commit: Eli Zaretskii <eliz@gnu.org>
Do interactive mode tagging for locate.el
* lisp/locate.el (locate-tags, locate-find-directory)
(locate-find-directory-other-window): Do interactive mode
tagging. (Bug#69619)
Copyright-paperwork-exempt: yes
---
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 @@ do not work in subdirectories.
(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 database using the shell command in
`locate-update-command'."
(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 database using the shell command in
`locate-update-command'."
(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.")))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 966e1be5b33: Do interactive mode tagging for locate.el,
Eli Zaretskii <=