[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master ea196eb: Fix load-path issue when it contains r
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] master ea196eb: Fix load-path issue when it contains remote directories |
Date: |
Fri, 16 Jun 2017 15:12:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
>>> + (directory-files dir nil "^tramp.+\\.elc?$"))
>> ^
>> \\'
> It doesn't matter:
Both work fine in practice, yes. But $ can misbehave in theory (in the
presence of newlines in file names). I'm encouraging the use of \' over
$ even when it doesn't matter, as a way to get used to using \' in those
cases where it can matter (both for you, and for those who read your
code).
Stefan