help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem adding buttons to tool-bar in matlab-shell-mode


From: Nordlöw
Subject: Problem adding buttons to tool-bar in matlab-shell-mode
Date: Sat, 5 Feb 2011 02:38:31 -0800 (PST)
User-agent: G2/1.0

Hi!

I'm trying to add to new functions to the tool-bar in matlab-shell-mode. This 
is what I'm come up with so far.

        (gud-def gud-finish "dbquit"              "\C-f" "Finish (Quit) 
executing current function.")
        (gud-def gud-run    "dbrun at %l in %f"   "\C-R" "Restart program.")
        (tool-bar-local-item-from-menu 'gud-run "exit" matlab-shell-mode-map 
gud-minor-mode-map)
        (tool-bar-local-item-from-menu 'gud-finish "cancel" 
matlab-shell-mode-map gud-minor-mode-map)

which are added to the function matlab-shell-mode

It runs without errors but no buttons are added.

Thanks in advance,
Per Nordlöw


reply via email to

[Prev in Thread] Current Thread [Next in Thread]