From: Uwe B. <ou...@ma...> - 2015-06-25 09:35:31
|
Hello To answer my own question, the following hack does what I want: (defun my-matlab-switch-and-save-default-directory () (interactive) (setq saved-default-directory default-directory) (switch-to-buffer "*MATLAB*") (setq default-directory saved-default-directory)) Maybe somebody with real lips skills could improve the code. regards Uwe Brauer |