Fixed errors when hitting 'emacs -sclang' etc. with later emacsen.
Updated switches to include hyphen. These switches seem to work with v.22 (possibly because the get treated as longopts?) git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9388 a380766d-ff14-0410-b294-a243070f3f08
This commit is contained in:
parent
64a225a654
commit
b205ca9ca3
1 changed files with 3 additions and 3 deletions
|
@ -687,17 +687,17 @@ if PRINT-P is non-nil. Return STRING if successful, otherwise nil."
|
||||||
|
|
||||||
;; add command line switches
|
;; add command line switches
|
||||||
(add-to-list 'command-switch-alist
|
(add-to-list 'command-switch-alist
|
||||||
(cons "sclang"
|
(cons "-sclang"
|
||||||
(lambda (switch)
|
(lambda (switch)
|
||||||
(sclang-start))))
|
(sclang-start))))
|
||||||
|
|
||||||
(add-to-list 'command-switch-alist
|
(add-to-list 'command-switch-alist
|
||||||
(cons "sclang-debug"
|
(cons "-sclang-debug"
|
||||||
(lambda (switch)
|
(lambda (switch)
|
||||||
(sclang-toggle-debug-command-handler 1))))
|
(sclang-toggle-debug-command-handler 1))))
|
||||||
|
|
||||||
(add-to-list 'command-switch-alist
|
(add-to-list 'command-switch-alist
|
||||||
(cons "scmail"
|
(cons "-scmail"
|
||||||
(lambda (switch)
|
(lambda (switch)
|
||||||
(sclang-start)
|
(sclang-start)
|
||||||
(when command-line-args-left
|
(when command-line-args-left
|
||||||
|
|
Loading…
Reference in a new issue