[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 5f898c9 3/7: Created auto scan reset function
From: |
Ian Dunn |
Subject: |
[elpa] master 5f898c9 3/7: Created auto scan reset function |
Date: |
Sat, 4 Mar 2017 11:10:24 -0500 (EST) |
branch: master
commit 5f898c99570feffe8b5d31674282e4332b4ccf23
Author: Ian Dunn <address@hidden>
Commit: Ian Dunn <address@hidden>
Created auto scan reset function
* enwc.el (enwc-restart-auto-scan): New function.
(enwc-auto-scan-interval): Mention it.
---
enwc.el | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/enwc.el b/enwc.el
index 8d85789..aefc290 100644
--- a/enwc.el
+++ b/enwc.el
@@ -94,7 +94,10 @@ networks every `enwc-auto-scan-interval' seconds."
:type 'boolean)
(defcustom enwc-auto-scan-interval 20
- "The interval between automatic scans."
+ "The interval between automatic scans.
+
+To make any changes to this variable take effect, use
+`enwc-restart-auto-scan'."
:group 'enwc
:type 'integer)
@@ -399,6 +402,12 @@ This will use the current value of
`enwc-auto-scan-interval'."
(enwc-disable-auto-scan)
(enwc-enable-auto-scan)))
+(defun enwc-restart-auto-scan ()
+ "Restart automatic scanning."
+ (interactive)
+ (enwc-disable-auto-scan)
+ (enwc-enable-auto-scan))
+
;;;;;;;;;;;;;;;;;;;
;; Scan internal ;;
;;;;;;;;;;;;;;;;;;;
- [elpa] master updated (32cfb77 -> 8bf9633), Ian Dunn, 2017/03/04
- [elpa] master 051d33e 2/7: Fixed docstring of enwc-force-backend-loading, Ian Dunn, 2017/03/04
- [elpa] master 51b81a6 4/7: Fixed Makefile, Ian Dunn, 2017/03/04
- [elpa] master 8a0f951 6/7: Bumped version, Ian Dunn, 2017/03/04
- [elpa] master 5f898c9 3/7: Created auto scan reset function,
Ian Dunn <=
- [elpa] master 8bbb347 1/7: Prompt for network interface devices if they aren't set, Ian Dunn, 2017/03/04
- [elpa] master 0be23cd 5/7: Changed enwc-last-scan to enwc--last-scan-results, Ian Dunn, 2017/03/04
- [elpa] master 8bf9633 7/7: Merge commit '8a0f951c02d0fe73dd247b983747951d39c7e76a', Ian Dunn, 2017/03/04