[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 08/09: Fix #32: handle upstream change in query-replace-read-args
From: |
Leo Liu |
Subject: |
[elpa] 08/09: Fix #32: handle upstream change in query-replace-read-args |
Date: |
Tue, 18 Feb 2014 02:56:18 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit 3686751d64c3b61c7c62639ae5fdea02d0fca1d0
Author: Leo Liu <address@hidden>
Date: Tue Feb 18 00:18:15 2014 +0800
Fix #32: handle upstream change in query-replace-read-args
---
ggtags.el | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ggtags.el b/ggtags.el
index c381c3c..1cd40bf 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -657,7 +657,10 @@ If not in navigation mode, do a grep on FROM first.
Note: the regular expression FROM must be supported by both
Global and Emacs."
- (interactive (query-replace-read-args "Query replace (regexp)" t t))
+ (interactive
+ ;; Note: in 24.4 query-replace-read-args returns a list of 4 elements.
+ (let ((args (query-replace-read-args "Query replace (regexp)" t t)))
+ (list (nth 0 args) (nth 1 args) (nth 2 args))))
(unless (bound-and-true-p ggtags-navigation-mode)
(let ((ggtags-auto-jump-to-first-match nil))
(ggtags-grep from)))
- [elpa] branch master updated (29cc746 -> 2e6b4f6), Leo Liu, 2014/02/17
- [elpa] 02/09: Fix misuse of display-buffer-overriding-action, Leo Liu, 2014/02/17
- [elpa] 01/09: Force ggtags-update-tags when called interactively, Leo Liu, 2014/02/17
- [elpa] 03/09: Fix #31: Avoid `-d' switch for compatibility, Leo Liu, 2014/02/17
- [elpa] 06/09: Fix last change, Leo Liu, 2014/02/17
- [elpa] 04/09: Expire project info in ggtags-update-tags, Leo Liu, 2014/02/17
- [elpa] 05/09: Remove side-effect from ggtags-with-process-environment, Leo Liu, 2014/02/17
- [elpa] 07/09: Rename ggtags-with-process-environment, Leo Liu, 2014/02/17
- [elpa] 08/09: Fix #32: handle upstream change in query-replace-read-args,
Leo Liu <=
- [elpa] 09/09: Merge remote-tracking branch 'ggtags/master', Leo Liu, 2014/02/17