summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index fb61db1..27a4162 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -654,6 +654,13 @@ For `python-mode' I prefer `python-imenu-create-flat-index'."
(hide-entry))
(call-interactively func))))))
+(defun oni:current-conkeror-tab (httpcon)
+ "Demonstration function"
+ (elnode-http-start
+ httpcon 302 `("Content-Type" . "text/html")
+ (cons "Location" (shell-command-to-string "conkeror-eval")))
+ (elnode-http-return httpcon))
+
(let (setp)
(defun oni:set-theme (frame)
"Try to set the theme for the current (first) frame."