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
commit2df566e66615754283299a64fcee39f6da7ccb4c (patch)
tree582fcae7e3855fba4a5f2efe6722b0a5a40f97ea /lisp/format.el
parent11aea8f56dd0bc95c444ccabc3e44affdace67f1 (diff)
downloademacs-2df566e66615754283299a64fcee39f6da7ccb4c.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.