summaryrefslogtreecommitdiffstats
path: root/lisp/init-restclient.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/init-restclient.el')
-rw-r--r--lisp/init-restclient.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/init-restclient.el b/lisp/init-restclient.el
index f65a31c..4740764 100644
--- a/lisp/init-restclient.el
+++ b/lisp/init-restclient.el
@@ -4,6 +4,8 @@
;; limit number of times vars are substituted
(setq restclient-vars-max-passes 2)
;; use matching client certificates from ~/.authinfo
- (setq network-stream-use-client-certificates t))
+ (setq network-stream-use-client-certificates t)
+ ;; use this mode for .http extension
+ :mode (("\\.http\\'" . restclient-mode)))
(provide 'init-restclient)