bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#28685: 25.3; wrong handling ~/.cpp.el


From: Noam Postavsky
Subject: bug#28685: 25.3; wrong handling ~/.cpp.el
Date: Tue, 17 Oct 2017 08:43:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Masatake YAMATO <yamato@redhat.com> writes:

> On Sat, 14 Oct 2017 18:11:06 -0400, Glenn Morris <rgm@gnu.org> wrote:

> +       ((file-readable-p (locate-user-emacs-file cpp-config-file))
> +        (load-file (locate-user-emacs-file cpp-config-file))))

This would find ~/.emacs.d/.cpp.el, but I believe we would rather get
~/.emacs.d/cpp.el.  Which is to say, we want

    (locate-user-emacs-file "cpp.el" ".cpp.el")






reply via email to

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