[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [elpa] externals/hyperbole 4382aa9268 2/2: Disable local variables w
From: |
Stefan Monnier |
Subject: |
Re: [elpa] externals/hyperbole 4382aa9268 2/2: Disable local variables when reading HyRolo files |
Date: |
Mon, 29 Aug 2022 17:19:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> + (if (string-match "\\.org$" file)
[ I suspect this should use "\\.org\\'". ]
> + (let ((find-file-literally t))
> + (hyrolo-find-file file hyrolo-find-file-noselect-function nil t))
What does this `let` do exactly?
I searched docstrings and Texinfo but it doesn't seem to say clearly what
this does. The `find-file-literally` is documented to set this var in
the resulting buffer, but that's something different.
I guess a first step would be to add a comment here describing what this
code hopes to obtain with this `let-binding`, but maybe Emacs itself
should describe the effect of such a binding (or some other way to get
the same effect).
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [elpa] externals/hyperbole 4382aa9268 2/2: Disable local variables when reading HyRolo files,
Stefan Monnier <=