diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2014-07-10 04:05:10 (GMT) |
|---|---|---|
| committer | Ravi R Kiran <aine.marina@gmail.com> | 2014-07-10 04:05:10 (GMT) |
| commit | f680edd9ad274468c8e3c6c2f586885d488f9f44 (patch) | |
| tree | 7f5dd530869f9919e5d366f9aed2f4786f1ea7aa | |
| parent | 713a9d42b4c277df9031cfab14b85f15b5166387 (diff) | |
| download | dotemacs-f680edd9ad274468c8e3c6c2f586885d488f9f44.zip dotemacs-f680edd9ad274468c8e3c6c2f586885d488f9f44.tar.gz dotemacs-f680edd9ad274468c8e3c6c2f586885d488f9f44.tar.bz2 | |
Enable file/directory name completion
| -rw-r--r-- | ravi-init-cpp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ravi-init-cpp.el b/ravi-init-cpp.el index 1690a91..3163b60 100644 --- a/ravi-init-cpp.el +++ b/ravi-init-cpp.el @@ -77,11 +77,11 @@ (setq-default compilation-directory dirbak)))) ((or (and arg (<= (car arg) 4)) (equal compile-command "")) - (setq-default compile-command (read-from-minibuffer + (setq-default compile-command (read-shell-command "Compile command: " (if (equal compile-command "") "make " compile-command) - nil nil 'compile-history)) + 'compile-history)) (setq-default compilation-directory default-directory) (when (not (equal (default-value 'compile-command) "")) (compile (default-value 'compile-command)))) |
