diff options
author | Alan Pearce | 2016-01-04 15:34:01 +0100 |
---|---|---|
committer | Alan Pearce | 2016-01-04 15:34:01 +0100 |
commit | 47434ec5414615851d09019b4d94abd536765026 (patch) | |
tree | 6f48d0db379cfda0302d1b06afe6cdcb839ad8e7 /tag-emacs | |
parent | 053df601845b618847d56f837b9e33c4b52fcdca (diff) | |
download | dotfiles-47434ec5414615851d09019b4d94abd536765026.tar.lz dotfiles-47434ec5414615851d09019b4d94abd536765026.tar.zst dotfiles-47434ec5414615851d09019b4d94abd536765026.zip |
Emacs: Fix compile error in restclient config
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 0a4a3ec..c65d5eb 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 |