[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: require (was: Re: Hooks in minor modes)
From: |
Jean Louis |
Subject: |
Re: require (was: Re: Hooks in minor modes) |
Date: |
Fri, 30 Apr 2021 08:44:25 +0300 |
User-agent: |
Mutt/2.0.6 (2021-03-06) |
* Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> [2021-04-30 08:04]:
> > require stuff
>
> It seems it cannot see the file in its own directory,
> (push "." load-path) don't help it seems...?
If you just push "." to load-path that may cause every future current
directory to be the load-path, imagine that require would not work
depending of the current directory.
It is better to expand "."
(add-to-list 'load-path (expand-file-name "."))
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/
- Hooks in minor modes, steve-humphreys, 2021/04/29
- Re: Hooks in minor modes, Emanuel Berg, 2021/04/29
- Re: Hooks in minor modes, Stefan Monnier, 2021/04/29
- Re: Hooks in minor modes, steve-humphreys, 2021/04/30
- Re: Hooks in minor modes, Emanuel Berg, 2021/04/30
- require (was: Re: Hooks in minor modes), Emanuel Berg, 2021/04/30
- Re: require (was: Re: Hooks in minor modes), Emanuel Berg, 2021/04/30
- Re: require (was: Re: Hooks in minor modes),
Jean Louis <=
- Re: require (was: Re: Hooks in minor modes), Emanuel Berg, 2021/04/30
- Re: require (was: Re: Hooks in minor modes), Jean Louis, 2021/04/30
- Re: require (was: Re: Hooks in minor modes), Emanuel Berg, 2021/04/30
- FW: [External] : Re: require (was: Re: Hooks in minor modes), Drew Adams, 2021/04/30
- Re: FW: [External] : Re: require (was: Re: Hooks in minor modes), Emanuel Berg, 2021/04/30
- FW: FW: [External] : Re: require (was: Re: Hooks in minor modes), Drew Adams, 2021/04/30
- Re: FW: FW: [External] : Re: require (was: Re: Hooks in minor modes), Emanuel Berg, 2021/04/30
- Re: Hooks in minor modes, Stefan Monnier, 2021/04/30
- Re: Hooks in minor modes, Emanuel Berg, 2021/04/30