diff options
| author | Andrea Corallo | 2020-12-27 17:50:05 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-12-27 17:56:17 +0100 |
| commit | ee53560c8cb1236bb60304157882abe8e7cddaff (patch) | |
| tree | fdd73c741c2a9a5688a5bdcd698c7abc79103c60 | |
| parent | 8fb94630136700aa4e74c7fc212b019d2db380ae (diff) | |
| download | emacs-ee53560c8cb1236bb60304157882abe8e7cddaff.tar.gz emacs-ee53560c8cb1236bb60304157882abe8e7cddaff.zip | |
* Don't require trailing backslashes in `comp-eln-load-path' (bug#45462)
* src/comp.c (Fcomp_el_to_eln_filename): Don't require
trailing backslashes in comp-eln-load-path.
| -rw-r--r-- | src/comp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp.c b/src/comp.c index ee3c15a2f67..52ebf92c500 100644 --- a/src/comp.c +++ b/src/comp.c | |||
| @@ -4085,7 +4085,8 @@ If BASE-DIR is nil use the first entry in `comp-eln-load-path'. */) | |||
| 4085 | base_dir = Fexpand_file_name (base_dir, Vinvocation_directory); | 4085 | base_dir = Fexpand_file_name (base_dir, Vinvocation_directory); |
| 4086 | 4086 | ||
| 4087 | return Fexpand_file_name (filename, | 4087 | return Fexpand_file_name (filename, |
| 4088 | concat2 (base_dir, Vcomp_native_version_dir)); | 4088 | concat2 (Ffile_name_as_directory (base_dir), |
| 4089 | Vcomp_native_version_dir)); | ||
| 4089 | } | 4090 | } |
| 4090 | 4091 | ||
| 4091 | DEFUN ("comp--install-trampoline", Fcomp__install_trampoline, | 4092 | DEFUN ("comp--install-trampoline", Fcomp__install_trampoline, |