aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Bockgård2016-10-18 22:07:59 +0200
committerJohan Bockgård2016-10-19 00:12:06 +0200
commitf52892fe01fec19860c198036fea1251b05ce18e (patch)
tree9719507ed92460d3e7be081ae5905e1e288b7a9a
parent224443922ce169ab0e21ad8495d32b269972c028 (diff)
downloademacs-f52892fe01fec19860c198036fea1251b05ce18e.tar.gz
emacs-f52892fe01fec19860c198036fea1251b05ce18e.zip
isearch: Fix bug in defstruct syntax
* lisp/isearch.el (isearch--state): Use correct form of defstruct slot options. (Bug#24685)
-rw-r--r--lisp/isearch.el24
1 files changed, 12 insertions, 12 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 0416b08eba2..9418064fc86 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1145,18 +1145,18 @@ REGEXP if non-nil says use the regexp search ring."
1145 (case-fold-search isearch-case-fold-search) 1145 (case-fold-search isearch-case-fold-search)
1146 (pop-fun (if isearch-push-state-function 1146 (pop-fun (if isearch-push-state-function
1147 (funcall isearch-push-state-function)))))) 1147 (funcall isearch-push-state-function))))))
1148 (string :read-only t) 1148 (string nil :read-only t)
1149 (message :read-only t) 1149 (message nil :read-only t)
1150 (point :read-only t) 1150 (point nil :read-only t)
1151 (success :read-only t) 1151 (success nil :read-only t)
1152 (forward :read-only t) 1152 (forward nil :read-only t)
1153 (other-end :read-only t) 1153 (other-end nil :read-only t)
1154 (word :read-only t) 1154 (word nil :read-only t)
1155 (error :read-only t) 1155 (error nil :read-only t)
1156 (wrapped :read-only t) 1156 (wrapped nil :read-only t)
1157 (barrier :read-only t) 1157 (barrier nil :read-only t)
1158 (case-fold-search :read-only t) 1158 (case-fold-search nil :read-only t)
1159 (pop-fun :read-only t)) 1159 (pop-fun nil :read-only t))
1160 1160
1161(defun isearch--set-state (cmd) 1161(defun isearch--set-state (cmd)
1162 (setq isearch-string (isearch--state-string cmd) 1162 (setq isearch-string (isearch--state-string cmd)