iankelling.org
/
git
/
visible-mark
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b5dbc
)
Added autloads to define mode functions
author
Ian Kelling
<ian@iankelling.org>
Tue, 15 Apr 2014 19:53:54 +0000
(12:53 -0700)
committer
Ian Kelling
<ian@iankelling.org>
Tue, 15 Apr 2014 19:53:54 +0000
(12:53 -0700)
visible-mark.el
patch
|
blob
|
history
diff --git
a/visible-mark.el
b/visible-mark.el
index 2e4f5aa246212d215b48ea4556306675cce1ba3c..430f8a5e93bc3ed017575b01d2cdfe1f60daa486 100644
(file)
--- a/
visible-mark.el
+++ b/
visible-mark.el
@@
-242,6
+242,7
@@
the last defined face will be reused."
(t t))
(visible-mark-mode t)))
+;;;###autoload
(define-minor-mode visible-mark-mode
"A mode to make the mark visible."
nil nil nil
@@
-254,6
+255,7
@@
the last defined face will be reused."
(setq visible-mark-overlays nil)
(remove-hook 'post-command-hook 'visible-mark-move-overlays t)))
+;;;###autoload
(define-global-minor-mode
global-visible-mark-mode visible-mark-mode visible-mark-mode-maybe
:group 'visible-mark)