]> git.eshelyaron.com Git - emacs.git/commitdiff
isearch: Fix bug in defstruct syntax
authorJohan Bockgård <bojohan@gnu.org>
Tue, 18 Oct 2016 20:07:59 +0000 (22:07 +0200)
committerJohan Bockgård <bojohan@gnu.org>
Tue, 18 Oct 2016 22:12:06 +0000 (00:12 +0200)
* lisp/isearch.el (isearch--state): Use correct form of defstruct slot
options.  (Bug#24685)

lisp/isearch.el

index 0416b08eba262e0ce3b15f33964ed69225349c74..9418064fc86cf2d5ca0c3cff25ab10f672fb11ee 100644 (file)
@@ -1145,18 +1145,18 @@ REGEXP if non-nil says use the regexp search ring."
                  (case-fold-search isearch-case-fold-search)
                  (pop-fun (if isearch-push-state-function
                               (funcall isearch-push-state-function))))))
-  (string :read-only t)
-  (message :read-only t)
-  (point :read-only t)
-  (success :read-only t)
-  (forward :read-only t)
-  (other-end :read-only t)
-  (word :read-only t)
-  (error :read-only t)
-  (wrapped :read-only t)
-  (barrier :read-only t)
-  (case-fold-search :read-only t)
-  (pop-fun :read-only t))
+  (string nil :read-only t)
+  (message nil :read-only t)
+  (point nil :read-only t)
+  (success nil :read-only t)
+  (forward nil :read-only t)
+  (other-end nil :read-only t)
+  (word nil :read-only t)
+  (error nil :read-only t)
+  (wrapped nil :read-only t)
+  (barrier nil :read-only t)
+  (case-fold-search nil :read-only t)
+  (pop-fun nil :read-only t))
 
 (defun isearch--set-state (cmd)
   (setq isearch-string (isearch--state-string cmd)