[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why alias man to woman doesn't work?
From: |
Stefan Monnier |
Subject: |
Re: why alias man to woman doesn't work? |
Date: |
Thu, 05 Apr 2012 10:19:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
>> (defalias 'man 'woman)
>> (eval-after-load 'woman '(defalias 'man 'woman))
> Do I understand correctly that the above code will load `woman' when being
> parsed, while:
No.
> (eval-after-load "woman" '(defalias 'man 'woman))
> would wait until woman was invoked by some other command?
If you remove the first line, then M-x man will not load woman.
Stefan