enable global-auto-revert-mode and add string-join to textmate.el

This commit is contained in:
Sami Samhuri 2010-05-26 23:02:22 -07:00
parent 749b9d78a7
commit b912f1bc7b
2 changed files with 6 additions and 0 deletions

1
emacs
View file

@ -26,6 +26,7 @@
(setq inhibit-startup-message t)
(setq make-backup-files nil)
(global-subword-mode 1)
(global-auto-revert-mode)
;; map cmd to meta (Emacs.app 23.2)
(when macosx-p

View file

@ -272,6 +272,11 @@ Symbols matching the text at point are put first in the completion list."
(position (cdr (assoc selected-symbol name-and-pos))))
(goto-char (if (overlayp position) (overlay-start position) position)))))
;; this is from rails-lib.el in the emacs-rails package
(defun string-join (separator strings)
"Join all STRINGS using SEPARATOR."
(mapconcat 'identity strings separator))
(defun textmate-goto-file ()
"Uses your completing read to quickly jump to a file in a project."
(interactive)