[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
loccur.el - loccur function should be autoloaded
From: |
pwr |
Subject: |
loccur.el - loccur function should be autoloaded |
Date: |
Mon, 5 Aug 2019 14:14:27 +1000 |
User-agent: |
SquirrelMail/1.4.22 |
Since the command loccur will nearly always be called before loccur-mode, this
should be autoloaded to avoid needing to explicitly require the mode (in this
modern age of package-initialize).
---
/Users/Paul/.emacs.d/backups/!Users!Paul!.emacs.d!packages!loccur-1.2.3!loccur.el~
2019-08-05
14:06:10.000000000 +1000
+++ /Users/Paul/.emacs.d/packages/loccur-1.2.3/loccur.el 2019-08-05
14:08:58.000000000 +1000
@@ -166,6 +166,7 @@
(when (overlay-get ovl loccur-overlay-visible-property-name)
(overlay-put ovl 'face (if loccur-highlight-matching-regexp
'loccur-face nil))))))
+;;;###autoload
(defun loccur (regex)
"Perform a simple grep in current buffer.
- loccur.el - loccur function should be autoloaded,
pwr <=