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

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

bug#12579: Emacs 24.2 crashes or freezes


From: Stefan Monnier
Subject: bug#12579: Emacs 24.2 crashes or freezes
Date: Wed, 21 Nov 2012 13:49:56 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>   (defconst windows-program-files-dir
>     (concat (getenv "PROGRAMFILES") "/")
>     "Defines the default Windows Program Files folder.")

>   (defvar sumatrapdf-command
>     (concat windows-program-files-dir "SumatraPDF/SumatraPDF.exe")
>     "Path to the SumatraPDF executable.")

If you replace (concat windows-program-files-dir "SumatraPDF/SumatraPDF.exe")
with (expand-file-name "SumatraPDF/SumatraPDF.exe" windows-program-files-dir)
it should work properly (and you can even just use (getenv
"PROGRAMFILES") for windows-program-files-dir, because expand-file-name
will add a slash if necessary).


        Stefan





reply via email to

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