Skip to content

Instantly share code, notes, and snippets.

@maedaunderscore
Created July 15, 2014 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maedaunderscore/1ce2025e5d4eff3f785f to your computer and use it in GitHub Desktop.
Save maedaunderscore/1ce2025e5d4eff3f785f to your computer and use it in GitHub Desktop.
選択された領域の最初と最後の文字を削るelisp
(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