Created
July 15, 2014 08:28
-
-
Save maedaunderscore/1ce2025e5d4eff3f785f to your computer and use it in GitHub Desktop.
選択された領域の最初と最後の文字を削るelisp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun delete-outer-char (&optional b e) | |
(interactive "r") | |
(delete-region (- e 1) e) | |
(delete-region b (+ b 1))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment