From: Leo A. <dn...@gm...> - 2010-03-11 19:23:32
|
I was trying to figure out how to deactivate mark after sending some commands to matlab-shell via matlab-shell-run-region. Writing a wrapper function and calling (deactivate-mark) after matlab-shell-run-region doesn't work (even though manually invoking it works as expected). I found that the solution is to stick (deactivate-mark) before (display-buffer msbn) in matlab-shell-run-region -- but is there a way to achieve this without modifying matlab.el?.. If not, you might consider having this as an option (as in ESS/R); I think deactivating the mark is a sensible default. --Leo |