* sweeprolog.el: sweeprolog--ensure-module: quote paths and use
packaged sweep.pl
* README.org: fix typo
list of callback functions stored in the variable
~cycle-spacing-actions~. ~sweep~ leverages this facility and adds
~sweeprolog-align-spaces~ as the first action of ~cycle-spacing~. To
-inhibit this ~sweeprolog-mode~ from doing so, set the user option
+inhibit ~sweeprolog-mode~ from doing so, set the user option
~sweeprolog-enable-cycle-spacing~ to nil.
Moreover, in Emacs 29 ~cycle-spacing~ is bound by default to ~M-SPC~, thus
(split-string
(shell-command-to-string
(concat
- (or sweeprolog-swipl-path (executable-find "swipl"))
- " -g"
- " write_sweep_module_location"
- " -t"
- " halt"))
+ (shell-quote-argument
+ (or sweeprolog-swipl-path (executable-find "swipl")))
+ " -g write_sweep_module_location"
+ " -t halt "
+ (shell-quote-argument
+ (expand-file-name
+ "sweep.pl"
+ (file-name-directory load-file-name)))))
"\n")))))
(condition-case _
(load sweep-module-path)