Merge pull request #762 from k1-hedayati/remove-ack

[Close #547] Removed ack-and-a-half from prelude
This commit is contained in:
Bozhidar Batsov 2014-12-22 09:09:42 +02:00
commit f19aeda388
3 changed files with 0 additions and 15 deletions

View file

@ -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)

View file

@ -45,7 +45,6 @@
'(ace-jump-mode
ace-jump-buffer
ace-window
ack-and-a-half
anzu
browse-kill-ring
dash

View file

@ -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