scel/el
Mario Lang 59e0d31b0a Fix `sclang-make-options' falsely emitting -d and -l
It turns out `file-directory-p' and `file-exists-p' return t when passed
the empty string.  This is sort of unexpected, and leads to the logic
in `sclang-make-options' choosing to pass -d and -l with
unpredictable values (default-directory) to sclang.
A default of "" (or -1) is pretty unidiomatic for elisp, so we change
the default of user option `sclang-runtime-directory',
`sclang-library-configuration-file' and `sclang-udp-port' to
nil, and adjust `sclang-make-options' accordingly.  While we're here,
we can eliminate the use of `cl-flet'.
Additionally, `sclang-eval-sync' uses `find' which is really an
alias for `cl-find' which and can be replaced with a call to the built-in
function `assoc'.  This is faster, and the last dependency on the
cl package, which we can now remove (obsolete since emacs 27).
2019-12-24 23:18:08 +01:00
..
CMakeLists.txt install *.el files irrespective of byte compilation option 2018-03-30 17:43:21 +05:30
sclang-browser.el Update address of Free Software Foundation (debian source-checking tools produce warnings about this). 2009-04-20 08:38:27 +00:00
sclang-dev.el scel: bytecompilation fix 2011-07-23 16:25:46 +02:00
sclang-document.el Update address of Free Software Foundation (debian source-checking tools produce warnings about this). 2009-04-20 08:38:27 +00:00
sclang-help.el change instances of flet to cl-flet as flet is obsolete 2018-07-28 20:01:58 +05:30
sclang-interp.el Fix `sclang-make-options' falsely emitting -d and -l 2019-12-24 23:18:08 +01:00
sclang-keys.el scel: bytecompile fix, correct use of defvar and defconst and add requirements 2011-07-22 20:35:00 +02:00
sclang-language.el change instances of flet to cl-flet as flet is obsolete 2018-07-28 20:01:58 +05:30
sclang-menu.el Update address of Free Software Foundation (debian source-checking tools produce warnings about this). 2009-04-20 08:38:27 +00:00
sclang-minor-mode.el scel: one more bytecode compilation fix 2011-07-23 16:27:17 +02:00
sclang-mode.el Prevent Emacs fontification failure w/ lots of classes - Fixes #248 2016-11-21 17:13:01 -06:00
sclang-server.el change instances of flet to cl-flet as flet is obsolete 2018-07-28 20:01:58 +05:30
sclang-util.el Update address of Free Software Foundation (debian source-checking tools produce warnings about this). 2009-04-20 08:38:27 +00:00
sclang-vars.el.in Update my email address 2019-12-12 10:37:11 +01:00
sclang-widgets.el Update my email address 2019-12-12 10:37:11 +01:00
sclang.el Update address of Free Software Foundation (debian source-checking tools produce warnings about this). 2009-04-20 08:38:27 +00:00