summaryrefslogtreecommitdiff
path: root/lisp/format.el
diff options
context:
space:
mode:
authorBoris Goldowsky <boris@gnu.org>1997-01-31 19:53:54 +0000
committerBoris Goldowsky <boris@gnu.org>1997-01-31 19:53:54 +0000
commit68997b81f882c1ab494f79391617393682f82435 (patch)
tree730c747125339e10cfc04f35682b692ae7f4dd0a /lisp/format.el
parent00201474f833935019f8697249c5e76197de2c28 (diff)
downloademacs-68997b81f882c1ab494f79391617393682f82435.tar.gz
Fix bug that caused crash on certain tags with parameters
Diffstat (limited to 'lisp/format.el')
-rw-r--r--lisp/format.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/format.el b/lisp/format.el
index 0b0910cef66..ed70fa9d1c6 100644
--- a/lisp/format.el
+++ b/lisp/format.el
@@ -518,7 +518,7 @@ to write these unknown annotations back into the file."
(assoc (car to-reset)
(cdr open-ans)))
(if this-one
- (setcdr this-one (list loc)))
+ (setcar (cdr this-one) loc))
(setq to-reset (cdr to-reset))))
;; Set loop variables to nil so loop
;; will exit.