diff options
Diffstat (limited to 'emacs/.emacs.d/wpc/region.el')
-rw-r--r-- | emacs/.emacs.d/wpc/region.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/emacs/.emacs.d/wpc/region.el b/emacs/.emacs.d/wpc/region.el index a2119b4c96ce..80cd9a273fcd 100644 --- a/emacs/.emacs.d/wpc/region.el +++ b/emacs/.emacs.d/wpc/region.el @@ -1,5 +1,9 @@ -;;; region.el --- Functions for working with Emacs's regions -*- lexical-binding: t -*- +;;; region.el --- Functions for working with regions -*- lexical-binding: t -*- + ;; Author: William Carroll <wpcarro@gmail.com> +;; Version: 0.0.1 +;; Package-Requires: ((emacs "24")) +;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase ;;; Commentary: ;; Sometimes Emacs's function names and argument ordering is great; other times, @@ -11,7 +15,7 @@ ;; Library ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(defun region/to-string () +(defun region-to-string () "Returns the string in the active region." (buffer-substring-no-properties (region-beginning) (region-end))) |