Commit f3582827 authored by Duncan Bayne's avatar Duncan Bayne

Make function run interactively

parent ef5f395d
......@@ -22,7 +22,7 @@
(defun duncans_emacs:change-all-terminal-dirs (new-directory)
"Changes the default directory for every buffer that is a terminal."
(interactive)
(interactive (list (read-directory-name "New directory:")))
(mapcar
'(lambda (buf)
(if (eq (with-current-buffer buf major-mode) 'term-mode)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment