diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-08-02 17:07:27 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-08-02 17:07:27 +0200 |
commit | ad7434be210344a6fb90384008ad9653daf4590a (patch) | |
tree | 3627ac138f468e188ca7872fb4dd76692c29a947 | |
parent | 3eaa66e2e6502aa40fde695d8bd77256388aaac3 (diff) | |
download | geiser-ad7434be210344a6fb90384008ad9653daf4590a.tar.gz geiser-ad7434be210344a6fb90384008ad9653daf4590a.tar.bz2 |
elisp: add-hook doesn't need a defvared hook
Thanks, Leo.
-rw-r--r-- | elisp/geiser.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/elisp/geiser.el b/elisp/geiser.el index 44087ea..b88d48f 100644 --- a/elisp/geiser.el +++ b/elisp/geiser.el @@ -1,6 +1,6 @@ ;;; geiser.el -- main geiser file -;; Copyright (C) 2009, 2010 Jose Antonio Ortega Ruiz +;; Copyright (C) 2009, 2010, 2011 Jose Antonio Ortega Ruiz ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the Modified BSD License. You should @@ -90,9 +90,7 @@ ;;; Setup: -(eval-after-load "scheme" - '(add-hook 'scheme-mode-hook 'geiser-mode--maybe-activate)) - +(add-hook 'scheme-mode-hook 'geiser-mode--maybe-activate) (add-to-list 'auto-mode-alist '("\\.rkt\\'" . scheme-mode)) |