 (setq time-stamp-line-limit 20)
 (add-hook 'write-file-hooks 'time-stamp)
 
-
-;; Now using the drag-stuff package instead
-;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; ;; Moving lines up and down
-;; ;; Source: http://www.whattheemacsd.com/
-;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; (defun move-line-down ()
-;;   (interactive)
-;;   (let ((col (current-column)))
-;;     (save-excursion
-;;       (forward-line)
-;;       (transpose-lines 1))
-;;     (forward-line)
-;;     (move-to-column col)))
-
-;; (defun move-line-up ()
-;;   (interactive)
-;;   (let ((col (current-column)))
-;;     (save-excursion
-;;       (forward-line)
-;;       (transpose-lines -1))
-;;     (move-to-column col)))
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;; Duplication
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
 ;; Duplicate current line or region
 ;; Source: http://tuxicity.se/emacs/elisp/2010/03/11/duplicate-current-line-or-region-in-emacs.html


;; (2) Undo
;; `C-_' or `C-/'


(defun endless/activate-aggressive-indent ()
  "Locally add `endless/indent-defun' to `post-command-hook'."
  (add-hook 'post-command-hook #'endless/indent-defun nil 'local))

(add-hook 'emacs-lisp-mode-hook #'endless/activate-aggressive-indent)


;; Source: http://stackoverflow.com/questions/12165205/how-to-copy-paste-a-region-from-emacs-buffer-with-line-file-reference
(defun copy-with-linenum (beg end use-unicode)
