From bd97b03872bce621f860094012da2219440e5507 Mon Sep 17 00:00:00 2001 From: Keyvan Hedayati Date: Mon, 22 Dec 2014 10:29:49 +0330 Subject: [PATCH] [Close #547] Removed ack-and-a-half from prelude --- core/prelude-editor.el | 6 ------ core/prelude-packages.el | 1 - utils/installer.sh | 8 -------- 3 files changed, 15 deletions(-) diff --git a/core/prelude-editor.el b/core/prelude-editor.el index 89fd43a..ff90d66 100644 --- a/core/prelude-editor.el +++ b/core/prelude-editor.el @@ -253,12 +253,6 @@ The body of the advice is in BODY." (global-set-key (kbd "M-%") 'anzu-query-replace) (global-set-key (kbd "C-M-%") 'anzu-query-replace-regexp) -;; shorter aliases for ack-and-a-half commands -(defalias 'ack 'ack-and-a-half) -(defalias 'ack-same 'ack-and-a-half-same) -(defalias 'ack-find-file 'ack-and-a-half-find-file) -(defalias 'ack-find-file-same 'ack-and-a-half-find-file-same) - ;; dired - reuse current buffer by pressing 'a' (put 'dired-find-alternate-file 'disabled nil) diff --git a/core/prelude-packages.el b/core/prelude-packages.el index 67fa2de..0e4a0e7 100644 --- a/core/prelude-packages.el +++ b/core/prelude-packages.el @@ -45,7 +45,6 @@ '(ace-jump-mode ace-jump-buffer ace-window - ack-and-a-half anzu browse-kill-ring dash diff --git a/utils/installer.sh b/utils/installer.sh index cae096a..801ece2 100755 --- a/utils/installer.sh +++ b/utils/installer.sh @@ -175,14 +175,6 @@ else printf "$RED not found. Install aspell to benefit from flyspell-mode!$RESET\n" fi -printf "$CYAN Checking to see if ack is installed... " -if hash ack 2>&- || hash ack-grep 2>&- -then - printf "$GREEN found.$RESET\n" -else - printf "$RED not found. You'll need it to use ack-and-a-half!$RESET\n" -fi - ### Check emacs version if [ $(emacs --version 2>/dev/null | sed -n 's/.*[^0-9.]\([0-9]*\.[0-9.]*\).*/\1/p;q' | sed 's/\..*//g') -lt 24 ] then