Open GoogleCodeExporter opened 9 years ago
This workaround should help- I had your same problem and it worked for me
http://stackoverflow.com/questions/2880238/let-emacs-choose-mode-conditionally-w
hen-opening-files
#basically you put this in your .emacs file
(require 'geben)
(defun geben-enter-php-mode ()
(let* ((local-path (buffer-file-name))
(session (and local-path (geben-source-find-session local-path))))
(if session
(let ((session nil))
(php-mode)))))
(add-hook 'find-file-hook #'geben-enter-php-mode)
Original comment by douglasw...@gmail.com
on 23 Mar 2011 at 8:42
Thanks, Douglas, that workaround worked beautifully for me.
Original comment by geo...@gmail.com
on 2 May 2011 at 2:27
Original issue reported on code.google.com by
mbruneel@gmail.com
on 15 Aug 2010 at 1:44Attachments: