Add licences to all el-files.

This commit is contained in:
Magnar Sveen
2012-07-25 23:00:19 +02:00
parent 8bc7916841
commit b1ea7f2230
7 changed files with 186 additions and 0 deletions

View File

@@ -1,3 +1,32 @@
;;; mc-edit-lines.el
;; Copyright (C) 2012 Magnar Sveen
;; Author: Magnar Sveen <magnars@gmail.com>
;; Keywords: editing cursors
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file contains functions to add multiple cursors to consecutive lines
;; given an active region.
;; Please see multiple-cursors.el for more commentary.
;;; Code:
(defun mc/edit-lines ()
"Add one cursor to each line of the active region.
Starts from mark and moves in straight down or up towards the
@@ -33,3 +62,5 @@ mark-multiple if point and mark is on different columns."
(beginning-of-line))
(provide 'mc-edit-lines)
;;; mc-edit-lines.el ends here