[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/objed d50117d 114/216: Fix kill-op error
From: |
Stefan Monnier |
Subject: |
[elpa] externals/objed d50117d 114/216: Fix kill-op error |
Date: |
Tue, 8 Jan 2019 12:29:22 -0500 (EST) |
branch: externals/objed
commit d50117d330a1c621050cb84e0d70ee110b443bfe
Author: Clemera <address@hidden>
Commit: Clemera <address@hidden>
Fix kill-op error
---
objed-objects.el | 4 ++--
objed.el | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/objed-objects.el b/objed-objects.el
index 1fc0468..9a82ebd 100644
--- a/objed-objects.el
+++ b/objed-objects.el
@@ -586,8 +586,8 @@ to search backwards.
POS defaults to point. When no object is found at current
position returns the next accessible one in DIR. Object position
-order depends on `objed--obj-state'. To exit early from search objects
-can throw an error."
+order depends on `objed--obj-state'. To exit early from search
+objects can throw an error."
(save-excursion
(let ((darg (if dir :try-prev :try-next))
(max (if dir nil (objed--object :max-search-forward)))
diff --git a/objed.el b/objed.el
index b7f762e..fe4f182 100644
--- a/objed.el
+++ b/objed.el
@@ -2642,7 +2642,9 @@ Marked object sequences are merged to built a single text
object."
;; no marked objects
(objed--ob-apply op cmd (objed--current))
;; for possible repeats like default conf. (kill line...)
- (unless (eq op 'ignore)
+ (unless (or (eq op 'ignore)
+ ;; object gone
+ (not objed--current-obj))
(objed--change-to :beg (point)
:ibeg (point))))))
- [elpa] externals/objed 192217a 066/216: Add no-skip option and block object, (continued)
- [elpa] externals/objed 192217a 066/216: Add no-skip option and block object, Stefan Monnier, 2019/01/08
- [elpa] externals/objed a2df7ab 075/216: Stay active when using describe key in modal state, Stefan Monnier, 2019/01/08
- [elpa] externals/objed b7fbf71 106/216: Fixes #12, collect no-skipping objects correctly, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 29bccb0 042/216: Whitespace cleanup, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 2e1e5c1 110/216: Run compilation as part of make test, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 433e92d 104/216: Block objed advices in object body codes, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 79ec8af 116/216: Fix boundary error, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 5a1c9f7 122/216: Improve char switching with objec-ace, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 38887bb 107/216: Adjust textblock object, Stefan Monnier, 2019/01/08
- [elpa] externals/objed fc11d2b 119/216: Fix skipping ws if point is after the object, Stefan Monnier, 2019/01/08
- [elpa] externals/objed d50117d 114/216: Fix kill-op error,
Stefan Monnier <=
- [elpa] externals/objed 49e36fd 123/216: Change back to indentation behavior, Stefan Monnier, 2019/01/08
- [elpa] externals/objed ce608d8 115/216: Add symbol object back, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 051028c 129/216: Fix init for entry commands which use after-init-alist, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 4b21416 112/216: Fix endless textblock search, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 703d634 131/216: Move some op bindings to more emacsy bindings, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 92fd6e7 135/216: Fix marking instances in objects not surrounding point, Stefan Monnier, 2019/01/08
- [elpa] externals/objed b9866d6 101/216: Fix undo op behavior, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 0e1d041 105/216: Simplify object macro usage, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 69db302 126/216: Some mroe init changes, Stefan Monnier, 2019/01/08
- [elpa] externals/objed 0c5a4e3 147/216: Version bump, Stefan Monnier, 2019/01/08