1

Suppose I type some HTML code into emacs and would like to preview its result in a web browser without having type something outside of emacs. What's the best way to do this?

countunique
  • 4,068
  • 6
  • 26
  • 35

1 Answers1

3

The command is browse-url-of-buffer not sure how it's bound in nxhtml. In html-mode, it's C-c C-v.

event_jr
  • 17,467
  • 4
  • 47
  • 62
  • It's not bound in nxhtml. But (global-set-key (kbd "C-c C-v") 'browse-url-of-buffer) in .emacs sets it in nxhtml-mode. – countunique Dec 18 '11 at 21:17