summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-01-04 15:34:01 +0100
committerAlan Pearce2016-01-04 15:34:01 +0100
commit47434ec5414615851d09019b4d94abd536765026 (patch)
tree6f48d0db379cfda0302d1b06afe6cdcb839ad8e7
parent053df601845b618847d56f837b9e33c4b52fcdca (diff)
downloadnixfiles-47434ec5414615851d09019b4d94abd536765026.tar.lz
nixfiles-47434ec5414615851d09019b4d94abd536765026.tar.zst
nixfiles-47434ec5414615851d09019b4d94abd536765026.zip
Emacs: Fix compile error in restclient config
-rw-r--r--tag-emacs/emacs.d/init.org16
1 files changed, 8 insertions, 8 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 0a4a3ec3..c65d5eb1 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -2000,14 +2000,14 @@ calls.  Feels a bit like using =org-babel=.  I wonder if there’s an
 integration between the two yet.
 
 #+BEGIN_SRC emacs-lisp
-(use-package restclient
-  :mode ("\\.api\\'" . restclient-mode)
-  :config (progn
-            (defun imenu-restclient-sections ()
-              (setq imenu-prev-index-position-function nil)
-              (add-to-list 'imenu-generic-expression '("Services" "^## ?\\(.+\\)$" 1) t)
-              (add-to-list 'imenu-generic-expression '("Calls" "^# ?\\(.+\\)$" 1) t))
-            (add-hook restclient-mode-hook #'imenu-restclient-sections)))
+  (use-package restclient
+    :mode ("\\.api\\'" . restclient-mode)
+    :config (progn
+              (defun imenu-restclient-sections ()
+                (setq imenu-prev-index-position-function nil)
+                (add-to-list 'imenu-generic-expression '("Services" "^## ?\\(.+\\)$" 1) t)
+                (add-to-list 'imenu-generic-expression '("Calls" "^# ?\\(.+\\)$" 1) t))
+              (add-hook 'restclient-mode-hook #'imenu-restclient-sections)))
 #+END_SRC
 
 *** sgml-mode