diff options
Diffstat (limited to 'lisp/general.el')
-rw-r--r-- | lisp/general.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/general.el b/lisp/general.el index f9fb573..29cf9d6 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -298,5 +298,12 @@ (drag-stuff-global-mode) (drag-stuff-define-keys) +;; Copy the entire buffer. +(defun my-copy-all () + "Copy entire buffer to clipboard." + (interactive) + (clipboard-kill-ring-save (point-min) (point-max))) + + (provide 'general) ;;; general.el ends here |