Tim Johnson wrote:
(defun previous-subroutine () (cond (eq major-mode "python")(previous-python-subroutine) (eq major-mode "C")(previous-C-subroutine) (eq major-mode "rebol")(previous-rebol-subroutine) ))
The value of major-mode is a symbol, e.g. python-mode. The value of mode-name is a string, e.g. "Python". -- Kevin Rodgers _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs