Multi-Line Comment

Skip Montanaro skip at pobox.com
Mon Aug 11 20:12:48 EDT 2003


    Doug> How do you comment the block of text with Emacs?  That is what I'm
    Doug> using for my code editor.

"C-c #".  Here's the doc:

    C-c # runs `py-comment-region'

    `py-comment-region' is an interactive compiled Lisp function
      -- loaded from "/Users/skip/emacs/python-mode.elc"
    (py-comment-region BEG END &optional ARG)

    Documentation:
    Like `comment-region' but uses double hash (`#') comment starter.

Skip





More information about the Python-list mailing list