diff --git a/init.org b/init.org index 5a96637..825a7f4 100644 --- a/init.org +++ b/init.org @@ -1538,7 +1538,7 @@ _u_: next word ^_l_: edit lines^ _s_: next whole symbol If CMD is not supplied, run `compile-command'. With PREFIX argument and CMD not supplied - prompt for command." (interactive "fDominating File: \nP") - (save-excursion + (save-window-excursion (awhen (locate-dominating-file default-directory file) (cd it) (compile