more changes to the .yas-setup files and fix issue 129

This commit is contained in:
capitaomorte
2011-05-07 19:13:40 +00:00
parent 35eaad9d40
commit 7fe4e84f91
4 changed files with 20 additions and 12 deletions

View File

@@ -247,6 +247,9 @@
nil
'ri-history)))
(with-current-buffer (get-buffer-create "*Ri*")
(setq buffer-read-only nil)
(erase-buffer)
(setq default-directory "~")
(setq buffer-read-only nil)
(shell-command (concat "ri -f ansi " query) "*Ri*")
(ansi-color-apply-on-region (point-min) (point-max))