X-Git-Url: https://iankelling.org/git/?p=visible-mark;a=blobdiff_plain;f=visible-mark.el;h=bf353f2593707f936f648ce5e4945142e06e3d56;hp=a21e9bd6d9b24799f5188a496b5c73328e99bfb4;hb=fd0accc186fd82a2dafb9a9e48b9441b9b8f115a;hpb=84b452125d13f6ee5d6c42855b560da86f861dbe diff --git a/visible-mark.el b/visible-mark.el index a21e9bd..bf353f2 100644 --- a/visible-mark.el +++ b/visible-mark.el @@ -2,7 +2,16 @@ ;; Copyright (C) 2014 by Ian Kelling -;; Author: Several people, most recently Ian Kelling +;; Maintainer: Ian Kelling +;; Author: Ian Kelling +;; Author: Yann Hodique +;; Author: MATSUYAMA Tomohiro +;; Author: John Foerch +;; Keywords: marking color faces +;; URL: https://gitlab.com/iankelling/visible-mark +;; Created: 2008-02-21 + +;;; License: ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -234,6 +243,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 @@ -246,6 +256,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)