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-to-list 'command-switch-alist
|
||||
(cons "sclang"
|
||||
(cons "-sclang"
|
||||
(lambda (switch)
|
||||
(sclang-start))))
|
||||
|
||||
(add-to-list 'command-switch-alist
|
||||
(cons "sclang-debug"
|
||||
(cons "-sclang-debug"
|
||||
(lambda (switch)
|
||||
(sclang-toggle-debug-command-handler 1))))
|
||||
|
||||
(add-to-list 'command-switch-alist
|
||||
(cons "scmail"
|
||||
(cons "-scmail"
|
||||
(lambda (switch)
|
||||
(sclang-start)
|
||||
(when command-line-args-left
|
||||
|
|
Loading…
Reference in a new issue