Minor code cleanup in gpolonkai/enclose-region
This commit is contained in:
parent
00dcbdd2ea
commit
8ab669205c
@ -305,7 +305,8 @@ member of the pair."
|
||||
(setq open character
|
||||
close character))
|
||||
(unless (use-region-p)
|
||||
(setq start (point) end (point)))
|
||||
(setq start (point)
|
||||
end (point)))
|
||||
(save-excursion
|
||||
(goto-char end)
|
||||
(insert-char close)
|
||||
|
Loading…
Reference in New Issue
Block a user