mirror of
https://github.com/vale981/boon
synced 2025-03-06 01:51:38 -05:00
fix borders
This commit is contained in:
parent
84cde79944
commit
0eee8f1eb4
1 changed files with 2 additions and 1 deletions
|
@ -92,7 +92,8 @@
|
|||
(cons (+ (car reg) 1) (- (cdr reg) 1)))
|
||||
|
||||
(defun boon-select-borders (how-much regs)
|
||||
(interactive (cons prefix-arg (boon-spec-region "select contents")))
|
||||
"Return the bordering (of size (as HOW-MUCH)) of a region (as REGS)."
|
||||
(interactive (cons (prefix-numeric-value prefix-arg) (boon-spec-region "select contents")))
|
||||
(cons 'region (apply 'append (mapcar (lambda (reg) (boon-borders reg how-much)) (mapcar 'boon-normalize-reg regs)))))
|
||||
|
||||
(defun boon-select-content (regs)
|
||||
|
|
Loading…
Add table
Reference in a new issue