[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: req-package

From: Alexander Shukaev
Subject: Re: req-package
Date: Thu, 13 Aug 2015 17:50:17 +0200

>> (with-eval-after-load 'closure-mode
>>   (add-hook 'clojure-mode-hook #'cider-mode))
>> (with-eval-after-load 'eldoc
>>   (add-hook 'cider-mode-hook #'eldoc-mode))
> Why would you need to wrap those in with-eval-after-load?

It's true that you don't have to.  This is just a bad example, Stefan.
Nevertheless, the rationale might still be available.  Why should I
define the `clojure-mode-hook' variable to populate it with
`cinder-mode', while the corresponding `clojure-mode' is never used
and is not even installed.

With `eldoc' it's clear.  Why should `cider-mode' call `eldoc-mode'
when `eldoc.el' is not even installed on one's machine?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]