emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 91af9d7 2/4: On second thought, better keep the old defaul


From: João Távora
Subject: [elpa] master 91af9d7 2/4: On second thought, better keep the old defaults for now
Date: Sat, 16 Mar 2019 21:32:46 -0400 (EDT)

branch: master
commit 91af9d775c8eb9eda14f33433a721ce9a36dc927
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    On second thought, better keep the old defaults for now
    
    * ack.el (ack-defaults-function): Default to
    `ack-legacy-defaults'.
---
 ack.el | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/ack.el b/ack.el
index ca2c0de..93d87f3 100644
--- a/ack.el
+++ b/ack.el
@@ -40,8 +40,7 @@
 ;; this command can be modulated by one of more `C-u''s to control
 ;; this process.
 ;;
-;; If `ack-defaults-function' is `ack-quickgrep-defaults', which is
-;; the default starting from version 1.7:
+;; If `ack-defaults-function' is `ack-quickgrep-defaults':
 ;;
 ;; +  Type `M-x ack' to start searching immediately for the thing
 ;;    at point from the current project root.
@@ -49,8 +48,7 @@
 ;; +  Type `C-u C-u M-x ack' to interactively choose a directory to
 ;;    search from.
 ;;
-;; If `ack-defaults-function' is `ack-legacy-defaults' this brings
-;; back the default behaviour before version 1.7
+;; If `ack-defaults-function' is `ack-legacy-defaults':
 ;;
 ;; +  Type `M-x ack' and provide a pattern to search.
 ;; +  Type `C-u M-x ack' to search from current project root.
@@ -141,7 +139,7 @@ Each element is of the form (VC_DIR . CMD)."
 (define-obsolete-function-alias 'ack-default-directory
   'ack-legacy-defaults "1.7")
 
-(defcustom ack-defaults-function 'ack-quickgrep-defaults
+(defcustom ack-defaults-function 'ack-legacy-defaults
   "A function to return a default parametrization for `ack'.
 It is called with one arg, the prefix arg to `ack'.  It may
 return a single element, a string, which is the directory under



reply via email to

[Prev in Thread] Current Thread [Next in Thread]