sh0099 <sh0099@xxxxxx> writes:
i like to add some keybinding to the sclang-mode
i came as far as that:
(define-key sclang-mode-map "\C-x\M-x" '(lambda ()
(interactive)(sclang-eval-string "1+2" 1)))
but when i try to add this to the .emacs file it does not work
i think this is the case because there is no sclang-mode-map at starttime
how can i add this command to the sclang-mode startup function?
(require 'sclang)
before the modification?
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/