branch: master
commit bae7ae0d162dde3cb4aa63f8d72b2558f3ff57db
Author: Ian Dunn <[email protected]>
Commit: Ian Dunn <[email protected]>

    auto-correct.el: Changed default predicate to enable auto-correct
---
 packages/auto-correct/auto-correct.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/packages/auto-correct/auto-correct.el 
b/packages/auto-correct/auto-correct.el
index 0ce103c..516d5e7 100644
--- a/packages/auto-correct/auto-correct.el
+++ b/packages/auto-correct/auto-correct.el
@@ -5,7 +5,7 @@
 ;; Author: Ian Dunn <[email protected]>
 ;; Maintainer: Ian Dunn <[email protected]>
 ;; Keywords: editing
-;; Version: 1.0
+;; Version: 1.1
 
 ;; This file is part of GNU Emacs.
 
@@ -75,11 +75,13 @@
 
 ;; Core Functionality
 
-(defvar-local auto-correct-predicate nil
+(defvar-local auto-correct-predicate (lambda () t)
   "Predicate to check whether automatic corrections should be made.
 
 This should be a function of no arguments that returns non-nil if
-auto-correct should operate on the current text.")
+auto-correct should operate on the current text.
+
+By default, this is a function that returns t.")
 
 (defun auto-correct-expand-p ()
   "Return non-nil if auto-correct should operate on the current point.

Reply via email to