[Close #547] Removed ack-and-a-half from prelude

This commit is contained in:
Keyvan Hedayati 2014-12-22 10:29:49 +03:30
parent 72d11bdddd
commit bd97b03872
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 "M-%") 'anzu-query-replace)
(global-set-key (kbd "C-M-%") 'anzu-query-replace-regexp) (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' ;; dired - reuse current buffer by pressing 'a'
(put 'dired-find-alternate-file 'disabled nil) (put 'dired-find-alternate-file 'disabled nil)

View file

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

View file

@ -175,14 +175,6 @@ else
printf "$RED not found. Install aspell to benefit from flyspell-mode!$RESET\n" printf "$RED not found. Install aspell to benefit from flyspell-mode!$RESET\n"
fi 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 ### 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 ] if [ $(emacs --version 2>/dev/null | sed -n 's/.*[^0-9.]\([0-9]*\.[0-9.]*\).*/\1/p;q' | sed 's/\..*//g') -lt 24 ]
then then