[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/objed 47891ba 17/34: Remove objed-extend face
From: |
Stefan Monnier |
Subject: |
[elpa] externals/objed 47891ba 17/34: Remove objed-extend face |
Date: |
Mon, 15 Mar 2021 22:21:10 -0400 (EDT) |
branch: externals/objed
commit 47891baf8dcee9dcac79b250aa6df021c72c7294
Author: Clemens Radermacher <clemera@posteo.net>
Commit: Clemens Radermacher <clemera@posteo.net>
Remove objed-extend face
---
objed.el | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/objed.el b/objed.el
index 0b1a630..50a2250 100644
--- a/objed.el
+++ b/objed.el
@@ -153,11 +153,6 @@
"Face used for marked objects."
:group 'objed-faces)
-(defface objed-extend
- '((t (:inherit objed-mark)))
- "Face used for extending objects."
- :group 'objed-faces)
-
(defface objed-mode-line
'((t (:inherit mode-line-inactive)))
"Face used for the mode line hint."
@@ -2378,8 +2373,6 @@ Update to object at current side."
(objed--update-current-object)))
-(defvar objed--extend-cookie nil)
-
(defun objed-extend ()
"Extend current object.
@@ -2397,11 +2390,6 @@ objed operation is used."
(setq mark-active nil)
(objed--init objed--object)
(message "Install expand-region to expand on repeat."))
- ;; when moving forward current obj shoul look like included in selection
- (unless objed--extend-cookie
- (setq objed--extend-cookie
- (face-remap-add-relative 'objed-hl
- 'objed-extend)))
(when (< (objed--beg) (point) (objed--end))
(goto-char (objed--beg)))
(push-mark (if (or (>= (point) (objed--end))
@@ -3862,10 +3850,6 @@ and RANGE hold the object position data."
(if (and text (objed--line-p text))
(objed--switch-to 'line)
(objed--switch-to 'char))))))
- ;; cleanup
- (when objed--extend-cookie
- (face-remap-remove-relative objed--extend-cookie)
- (setq objed--extend-cookie nil))
(when (and range
(not (eq exitf 'current))
(not (eq exit 'current))
@@ -3947,10 +3931,6 @@ Reset and reinitilize objed if appropriate."
(delete-overlay ov))
(setq objed--marked-ovs nil))
- (when objed--extend-cookie
- (face-remap-remove-relative objed--extend-cookie)
- (setq objed--extend-cookie nil))
-
(when objed--hl-cookie
(face-remap-remove-relative objed--hl-cookie)
(setq objed--hl-cookie nil))
- [elpa] externals/objed 9bb3513 04/34: Fix differing initialization conditions, (continued)
- [elpa] externals/objed 9bb3513 04/34: Fix differing initialization conditions, Stefan Monnier, 2021/03/15
- [elpa] externals/objed e046331 07/34: Implemented objed-local-mode (#72), Stefan Monnier, 2021/03/15
- [elpa] externals/objed e89d8da 06/34: Fix bytecompile and linting errors, Stefan Monnier, 2021/03/15
- [elpa] externals/objed f5ddab2 08/34: Update objed-exit-op: Check range was passed, Stefan Monnier, 2021/03/15
- [elpa] externals/objed e871e0f 11/34: Mention changes of public interface, Stefan Monnier, 2021/03/15
- [elpa] externals/objed ae47cf6 10/34: Ensure to never shrink on expansion for objed-beg/end-of-block, Stefan Monnier, 2021/03/15
- [elpa] externals/objed f45cddb 09/34: Restructure note about out of date keybindings, Stefan Monnier, 2021/03/15
- [elpa] externals/objed 2224691 12/34: Make note about changes more prominent, Stefan Monnier, 2021/03/15
- [elpa] externals/objed 5d3b8a8 18/34: Fix quotes in docstring, Stefan Monnier, 2021/03/15
- [elpa] externals/objed dd520d4 20/34: Don't override last-command in objed--do-objects, Stefan Monnier, 2021/03/15
- [elpa] externals/objed 47891ba 17/34: Remove objed-extend face,
Stefan Monnier <=
- [elpa] externals/objed ded6eb4 16/34: Fix docstring of objed-use-hl, Stefan Monnier, 2021/03/15
- [elpa] externals/objed d36e277 22/34: Don't support objed-extend with marked objects, Stefan Monnier, 2021/03/15
- [elpa] externals/objed d3dfcaf 26/34: Add binding for symbol object, Stefan Monnier, 2021/03/15
- [elpa] externals/objed 6ecb81f 27/34: Reformat error message, Stefan Monnier, 2021/03/15
- [elpa] externals/objed 23f5c6e 28/34: Add isearch to keeper commands, Stefan Monnier, 2021/03/15
- [elpa] externals/objed d0fb9c6 31/34: Allow wrap for identifier navigation, Stefan Monnier, 2021/03/15
- [elpa] externals/objed 35a6892 05/34: Don't provide tests (fix #70), Stefan Monnier, 2021/03/15