At Wed, 14 Oct 2009 19:57:42 +0200, Tassilo Horn wrote: > Eric S Fraga <ucec...@ucl.ac.uk> writes: > > (if (string= major-mode "org-mode") > > Here, you want (eq major-mode 'org-mode). Your version also works, but
Makes sense! D'uh. Of course there is a way of comparing modes. This is *emacs*, after all! [...] > > Again, apologies for my minimal (yet increasing) elisp knowledge! > > Hey, it works! What do you want more? ;-) I've learned even more today! My knowledge of elisp may not be increasingly exponentially but it is at least monotonic in the right direction ;-). I could ask for nothing more. Thanks, eric _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode