Skip to content

Commit

Permalink
v1.15
Browse files Browse the repository at this point in the history
- Update documents, example snippets for other packages,
  regarding #14.
  • Loading branch information
k-talo committed Jun 12, 2016
1 parent b8082e2 commit 9a20091
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 84 deletions.
34 changes: 7 additions & 27 deletions README-ja.org
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,8 @@
;;-----------------------------------------------------------------------------
;; Supporting vip-mode.
;;-----------------------------------------------------------------------------
(defun vhl/ext/vip/load ()
(vhl/define-extension 'vip 'vip-yank)
(vhl/install-extension 'vip))

(cond
((featurep 'vip)
(vhl/ext/vip/load))
(t
(eval-after-load "vip" '(vhl/ext/vip/load))))
(vhl/define-extension 'vip 'vip-yank)
(vhl/install-extension 'vip)
#+END_SRC

*** evil
Expand All @@ -99,15 +92,9 @@
;;-----------------------------------------------------------------------------
;; Supporting evil-mode.
;;-----------------------------------------------------------------------------
(defun vhl/ext/evil/load ()
(vhl/define-extension 'evil 'evil-yank 'evil-move)
(vhl/install-extension 'evil))

(cond
((featurep 'evil)
(vhl/ext/evil/load))
(t
(eval-after-load "evil" '(vhl/ext/evil/load))))
(vhl/define-extension 'evil 'evil-paste-after 'evil-paste-before
'evil-paste-pop 'evil-move)
(vhl/install-extension 'evil)
#+END_SRC

*** undo-tree
Expand All @@ -116,14 +103,7 @@
;;-----------------------------------------------------------------------------
;; Supporting undo-tree.
;;-----------------------------------------------------------------------------
(defun vhl/ext/undo-tree/load ()
(vhl/define-extension 'undo-tree 'undo-tree-yank 'undo-tree-move)
(vhl/install-extension 'undo-tree))

(cond
((featurep 'undo-tree)
(vhl/ext/undo-tree/load))
(t
(eval-after-load "undo-tree" '(vhl/ext/undo-tree/load))))
(vhl/define-extension 'undo-tree 'undo-tree-yank 'undo-tree-move)
(vhl/install-extension 'undo-tree)
#+END_SRC

35 changes: 7 additions & 28 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,8 @@ via customization. Also check out the customization group by:
;;-----------------------------------------------------------------------------
;; Supporting vip-mode.
;;-----------------------------------------------------------------------------
(defun vhl/ext/vip/load ()
(vhl/define-extension 'vip 'vip-yank)
(vhl/install-extension 'vip))

(cond
((featurep 'vip)
(vhl/ext/vip/load))
(t
(eval-after-load "vip" '(vhl/ext/vip/load))))
(vhl/define-extension 'vip 'vip-yank)
(vhl/install-extension 'vip)
#+END_SRC

*** evil
Expand All @@ -104,16 +97,9 @@ via customization. Also check out the customization group by:
;;-----------------------------------------------------------------------------
;; Supporting evil-mode.
;;-----------------------------------------------------------------------------
(defun vhl/ext/evil/load ()
(vhl/define-extension 'evil 'evil-paste-after 'evil-paste-before
'evil-paste-pop 'evil-move)
(vhl/install-extension 'evil))

(cond
((featurep 'evil)
(vhl/ext/evil/load))
(t
(eval-after-load "evil" '(vhl/ext/evil/load))))
(vhl/define-extension 'evil 'evil-paste-after 'evil-paste-before
'evil-paste-pop 'evil-move)
(vhl/install-extension 'evil)
#+END_SRC

*** undo-tree
Expand All @@ -122,14 +108,7 @@ via customization. Also check out the customization group by:
;;-----------------------------------------------------------------------------
;; Supporting undo-tree.
;;-----------------------------------------------------------------------------
(defun vhl/ext/undo-tree/load ()
(vhl/define-extension 'undo-tree 'undo-tree-yank 'undo-tree-move)
(vhl/install-extension 'undo-tree))

(cond
((featurep 'undo-tree)
(vhl/ext/undo-tree/load))
(t
(eval-after-load "undo-tree" '(vhl/ext/undo-tree/load))))
(vhl/define-extension 'undo-tree 'undo-tree-yank 'undo-tree-move)
(vhl/install-extension 'undo-tree)
#+END_SRC

41 changes: 12 additions & 29 deletions volatile-highlights.el
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
;; Revision: $Id$
;; URL: http://www.emacswiki.org/emacs/download/volatile-highlights.el
;; GitHub: http://github.com/k-talo/volatile-highlights.el
;; Version: 1.13
;; Version: 1.15
;; Contributed by: Ryan Thompson and Le Wang.

;; This file is not part of GNU Emacs.
Expand Down Expand Up @@ -104,44 +104,27 @@
;;
;; - vip-mode
;;
;; (defun vhl/ext/vip/load ()
;; (vhl/define-extension 'vip 'vip-yank)
;; (vhl/install-extension 'vip))
;; (vhl/define-extension 'vip 'vip-yank)
;; (vhl/install-extension 'vip)
;;
;; (cond
;; ((featurep 'vip)
;; (vhl/ext/vip/load))
;; (t
;; (eval-after-load "vip" '(vhl/ext/vip/load))))
;;
;; - evil-mode
;;
;; (defun vhl/ext/evil/load ()
;; (vhl/define-extension 'evil 'evil-paste-after 'evil-paste-before
;; 'evil-paste-pop 'evil-move)
;; (vhl/install-extension 'evil))
;;
;; (cond
;; ((featurep 'evil)
;; (vhl/ext/evil/load))
;; (t
;; (eval-after-load "evil" '(vhl/ext/evil/load))))
;; (vhl/define-extension 'evil 'evil-paste-after 'evil-paste-before
;; 'evil-paste-pop 'evil-move)
;; (vhl/install-extension 'evil)
;;
;; - undo-tree
;;
;; (defun vhl/ext/undo-tree/load ()
;; (vhl/define-extension 'undo-tree 'undo-tree-yank 'undo-tree-move)
;; (vhl/install-extension 'undo-tree))
;;
;; (cond
;; ((featurep 'undo-tree)
;; (vhl/ext/undo-tree/load))
;; (t
;; (eval-after-load "undo-tree" '(vhl/ext/undo-tree/load))))
;; (vhl/define-extension 'undo-tree 'undo-tree-yank 'undo-tree-move)
;; (vhl/install-extension 'undo-tree)


;;; Change Log:
;;
;; v1.15 Sun Jun 12 10:40:31 2016 JST
;; - Update documents, example snippets for other packages,
;; regarding #14.
;;
;; v1.14 Sun Jun 12 10:12:30 2016 JST
;; - Update documents, especially supporting `evil-mode',
;; regarding #13.
Expand Down

0 comments on commit 9a20091

Please sign in to comment.