branch: externals/objed
commit 252a1d3c65f6dec91b4c2dd5bc1386c538f4df7d
Author: Clemens Radermacher <[email protected]>
Commit: Clemens Radermacher <[email protected]>
For brackets,strings and comments switch to sexp on continuation
---
objed.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/objed.el b/objed.el
index ae7e4e8..e2d2df2 100644
--- a/objed.el
+++ b/objed.el
@@ -3508,12 +3508,12 @@ and RANGE hold the object position data."
(defun objed--get-continuation-object (obj)
- "Rerturn continuation object for object OBJ."
+ "Return continuation object for object OBJ."
;; objects which
(cond ((memq obj '(bracket string comment))
- (let ((objed--object 'sexp))
- (objed-make-object :beg (point)
- :end (objed--end (objed--get)))))
+ (setq objed--object 'sexp)
+ (objed-make-object :beg (point)
+ :end (objed--end (objed--get))))
(t
(objed-make-object :beg (point)
:end (objed--end (objed--get))))))