We Recommend

HTML Dog: The Best-Practice Guide to XHTML and CSS HTML Dog: The Best-Practice Guide to XHTML and CSS
For readers who want to design Web pages that load quickly, are easy to update, accessible to all, work on all browsers and can be quickly adapted to different media, this comprehensive guide represents the best way to go about it.


Posted By

tgunr on 04/11/07


Tagged

emacs elisp


Versions (?)


ELisp advice


Published in: Lisp 


Change GUD to show end of buffer after a command.

  1. (require 'gud)
  2. (defadvice gud-basic-call (after goto-comint-buffer-end)
  3. "Go to end of buffer after making call"
  4. (overlay-recenter (point-max)))
  5. (ad-activate 'gud-basic-call)

Report this snippet 

You need to login to post a comment.