From 582fe2461ebe47a54fecf1b93167d449555883cb Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Tue, 2 Aug 2011 17:07:27 +0200 Subject: elisp: add-hook doesn't need a defvared hook Thanks, Leo. --- elisp/geiser.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'elisp') 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)) -- cgit v1.2.3