summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacsconf-pad.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/emacsconf-pad.el b/emacsconf-pad.el
index 7d43423..e5d20f3 100644
--- a/emacsconf-pad.el
+++ b/emacsconf-pad.el
@@ -264,9 +264,10 @@ ${next-talk-list}
(emacsconf-pad-create-pad pad-id)
(when (or emacsconf-pad-force-all
(not (emacsconf-pad-modified-p pad-id))
- (progn
- (browse-url (emacsconf-pad-url o))
- (y-or-n-p (format "%s might have been modified. Reset? " (plist-get o :slug)))))
+ (and (called-interactively-p)
+ (progn
+ (browse-url (emacsconf-pad-url o))
+ (y-or-n-p (format "%s might have been modified. Reset? " (plist-get o :slug))))))
(emacsconf-pad-set-html
pad-id
(emacsconf-pad-initial-content o))