From 2fcbd1b2667fcf860f6196e3c8112e4ddf8dc431 Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Sat, 12 Sep 2015 20:12:26 +0800 Subject: [PATCH] Customise compilation-finish-functions --- ack.el | 7 +++++-- pcmpl-ack.el | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ack.el b/ack.el index c7094ba98..11c1f9367 100644 --- a/ack.el +++ b/ack.el @@ -1,9 +1,9 @@ ;;; ack.el --- interface to ack-like tools -*- lexical-binding: t; -*- -;; Copyright (C) 2012-2013 Free Software Foundation, Inc. +;; Copyright (C) 2012-2015 Free Software Foundation, Inc. ;; Author: Leo Liu -;; Version: 1.4 +;; Version: 1.5 ;; Keywords: tools, processes, convenience ;; Created: 2012-03-24 ;; URL: https://github.com/leoliu/ack-el @@ -147,6 +147,9 @@ Used by `ack-guess-project-root'." (defvar ack-error "ack match" "Stem of message to print when no matches are found.") +(defvar ack-finish-functions nil + "Value to use for `compilation-finish-functions' in ack buffers.") + (defun ack-filter () "Handle match highlighting escape sequences inserted by the ack process. This function is called from `compilation-filter-hook'." diff --git a/pcmpl-ack.el b/pcmpl-ack.el index ca906ab0e..315eb0493 100644 --- a/pcmpl-ack.el +++ b/pcmpl-ack.el @@ -1,6 +1,6 @@ ;;; pcmpl-ack.el --- completion for ack and ag -*- lexical-binding: t; -*- -;; Copyright (C) 2012-2013 Free Software Foundation, Inc. +;; Copyright (C) 2012-2015 Free Software Foundation, Inc. ;; Author: Leo Liu ;; Keywords: tools, processes, convenience -- 2.39.2