aboutsummaryrefslogtreecommitdiff
path: root/luwak.el
diff options
context:
space:
mode:
Diffstat (limited to 'luwak.el')
-rw-r--r--luwak.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/luwak.el b/luwak.el
index 744fed0..224ce83 100644
--- a/luwak.el
+++ b/luwak.el
@@ -36,9 +36,6 @@
((plist-get luwak-data :no-tor) "Tor off")
(t "Tor on"))))
-(define-derived-mode luwak-mode special-mode (luwak-mode-name)
- "Major mode for browsing the web using lynx -dump.")
-
(defvar luwak-mode-map
(let ((kmap (make-sparse-keymap)))
(define-key kmap "\t" 'forward-button)
@@ -51,6 +48,9 @@
(define-key kmap "s" 'luwak-search)
kmap))
+(define-derived-mode luwak-mode special-mode (luwak-mode-name)
+ "Major mode for browsing the web using lynx -dump.")
+
(defun luwak-open (url)
(interactive "sUrl to open: ")
(luwak-open-internal url current-prefix-arg 'luwak-add-to-history))