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: Masatake YAMATO
Subject: bug#28685: 25.3; wrong handling ~/.cpp.el
Date: Fri, 20 Oct 2017 03:55:52 +0900 (JST)

cpp-config-file is a customizable variable.
So a user can change its name.

Masatake YAMATO

On Tue, 17 Oct 2017 08:43:39 -0400, Noam Postavsky 
<npostavs@users.sourceforge.net> wrote:
> 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]