[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-idutils] [PATCH] Use `read-shell-command' in `gid'
From: |
Ludovic Courtès |
Subject: |
[bug-idutils] [PATCH] Use `read-shell-command' in `gid' |
Date: |
Fri, 27 Feb 2009 10:45:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) |
Hello,
The attached patch enables completion at the `gid' prompt in Emacs.
Thanks,
Ludo'.
From d2e77ebe50f707e6cdd5f7e0221e9bac379654a8 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Ludovic=20Court=C3=A8s?= <address@hidden>
Date: Fri, 27 Feb 2009 10:43:25 +0100
Subject: [PATCH] Elisp: Use `read-shell-command' in `gid'.
* lisp/idutils.el (gid): Use `read-shell-command' instead of
`read-string', to allow for completion.
---
lisp/idutils.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/idutils.el b/lisp/idutils.el
index cc40ed5..643a825 100644
--- a/lisp/idutils.el
+++ b/lisp/idutils.el
@@ -1,5 +1,5 @@
;;; idutils.el --- emacs interface to `lid -R grep', a.k.a. `gid'
-;;; Copyright (C) 1995, 1996, 2006-2008 Free Software Foundation, Inc.
+;;; Copyright (C) 1995, 1996, 2006-2009 Free Software Foundation, Inc.
;;; Greg McGary <address@hidden>.
;; This file is part of GNU idutils.
@@ -51,7 +51,7 @@
While gid runs asynchronously, you can use the \\[next-error] command to
find the text that gid hits refer to. The command actually run is
defined by the gid-command variable."
- (interactive (list (read-string
+ (interactive (list (read-shell-command
(concat "Run " gid-command " (with args): ") (thing-at-point 'symbol))))
(let (compile-command
(compilation-error-regexp-alist grep-regexp-alist)
--
1.6.0.4
pgpf4E7_dtzHN.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-idutils] [PATCH] Use `read-shell-command' in `gid',
Ludovic Courtès <=