[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master a27a30e 2/4: Make ack return the compilation buffer
From: |
Leo Liu |
Subject: |
[elpa] master a27a30e 2/4: Make ack return the compilation buffer |
Date: |
Sat, 12 Sep 2015 12:40:52 +0000 |
branch: master
commit a27a30e858187984f5331487ab71568deda262c3
Author: Leo Liu <address@hidden>
Commit: Leo Liu <address@hidden>
Make ack return the compilation buffer
---
ack.el | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ack.el b/ack.el
index 41b6d22..c7094ba 100644
--- a/ack.el
+++ b/ack.el
@@ -1,9 +1,9 @@
-;;; ack.el --- interface to ack-like tools -*- lexical-binding: t; -*-
+;;; ack.el --- interface to ack-like tools -*- lexical-binding: t;
-*-
;; Copyright (C) 2012-2013 Free Software Foundation, Inc.
;; Author: Leo Liu <address@hidden>
-;; Version: 1.3
+;; Version: 1.4
;; Keywords: tools, processes, convenience
;; Created: 2012-03-24
;; URL: https://github.com/leoliu/ack-el
@@ -50,6 +50,13 @@
;; the minibuffer
;; + `TAB' completes ack options
+;;; Supported tools:
+
+;; + ack
+;; + grep
+;; + the_silver_search
+;; + git/hg/bzr grep
+
;;; Bugs: https://github.com/leoliu/ack-el/issues
;;; Code:
@@ -378,7 +385,8 @@ minibuffer:
;; make use of `compilation-arguments'.
(with-current-buffer (compilation-start command-args 'ack-mode)
(when ack-buffer-name-function
- (rename-buffer (funcall ack-buffer-name-function "ack"))))))
+ (rename-buffer (funcall ack-buffer-name-function "ack")))
+ (current-buffer))))
(provide 'ack)
;;; ack.el ends here