summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorNicolás Bértolo <nicolasbertolo@gmail.com>2020-05-25 18:05:23 -0300
committerAndrea Corallo <akrl@sdf.org>2020-06-06 21:52:20 +0200
commite38678b268c2a3f77d1fa32a55706fb9e077405c (patch)
treef78ffbd5da5b17b5a827d18ee00b08ce59949cbf /lisp
parentee3df1483a9e733c27629da7bcf515789df52ef8 (diff)
downloademacs-e38678b268c2a3f77d1fa32a55706fb9e077405c.tar.gz
emacs-e38678b268c2a3f77d1fa32a55706fb9e077405c.tar.bz2
emacs-e38678b268c2a3f77d1fa32a55706fb9e077405c.zip
Reduce the number of files probed when finding a lisp file.
* src/lread.c (get-load-suffixes): Do not add any suffix to files that need to be loaded by the dynamic linker. (effective_load_path): Remove function. (load): Don't add any suffix if file ends in a suffix already. (effective_load_path): Remove function. (openp_add_middle_dir_to_suffixes): Add helper function to create pairs of middle directories and suffixes. (openp_max_middledir_and_suffix_len): Add helper function to count the number of bytes needed to store the middle directory and suffix. (openp_fill_filename_buffer): Add helper function to copy middle directory, basename and suffix to the filename buffer.
Diffstat (limited to 'lisp')
0 files changed, 0 insertions, 0 deletions