From 58fc46f6bacbb20376da5c3c627c79e220fcfaf2 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Mon, 12 Jun 2017 12:01:52 +0200 Subject: [PATCH] added run-hooks --- mark-copy-yank-things-mode.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mark-copy-yank-things-mode.el b/mark-copy-yank-things-mode.el index 6e3ed07..ca634c7 100644 --- a/mark-copy-yank-things-mode.el +++ b/mark-copy-yank-things-mode.el @@ -19,7 +19,7 @@ ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ;; USA -;; Version: 0.01 +;; Version: 0.02 ;; Author: T.v.Dein ;; Keywords: copy yank mark things ;; URL: https://github.com/tlinden/mark-copy-yank-things @@ -134,7 +134,7 @@ ;;;; Consts and Defs -(defconst mark-copy-yank-things-mode-version "0.01" "Mark-Copy-Yank-Things Mode version.") +(defconst mark-copy-yank-things-mode-version "0.02" "Mark-Copy-Yank-Things Mode version.") (defgroup mark-copy-yank-things-mode nil "Kill first, ask later - an emacs mode for killing things quickly" @@ -651,7 +651,8 @@ below and place the cursor on the end of copied comment" (define-minor-mode mark-copy-yank-things-mode "mark, copy and yank various things" :lighter " Y" :group 'mark-copy-yank-things-mode - (mcyt--load-prefix-maps)) + (mcyt--load-prefix-maps) + (run-hooks 'mark-copy-yank-things-mode-hook)) ;; just in case someone wants to use it globally (define-globalized-minor-mode mark-copy-yank-things-global-mode