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 | 582fe2461ebe47a54fecf1b93167d449555883cb (patch) | |
tree | 27db560bbf558abe1c78034a6344ad34e88fa6ed /elisp | |
parent | 7acf285df13c783c07ce9570dda8ef0959e215aa (diff) | |
download | geiser-guile-582fe2461ebe47a54fecf1b93167d449555883cb.tar.gz geiser-guile-582fe2461ebe47a54fecf1b93167d449555883cb.tar.bz2 |
elisp: add-hook doesn't need a defvared hook
Thanks, Leo.
Diffstat (limited to 'elisp')
-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)) |