Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Emacs has a syntax for interpolation which you might find easier. Instead of:
    (list 'global-set-key key
        (append '(lambda () "~keyfunction~"
         (interactive)) body)))
    You might prefer
    `(global-set-key key
        ,@(append '(lambda () "~keyfunction~"
         (interactive)) body)))
    Basically, backquote starts a list you can interpolate into; comma interpolates a single item; comma + at-sign splices in a list at that point. As usual, more info in BackquoteSyntax [].