miniblog.
← Back to all posts
Feb 15, 2014 at 10:09
Elisp surprise of the day: (commandp []) and (commandp "") evaluate to t. This is because execute-kbd-macro can execute them.
Wilfred Hughes
Related Posts
May 26, 2015 at 22:12
Emacs tip of the day: M-: evaluates elisp snippets, but C-u M-: inserts the result into the current buffer. Really handy for quick scripts.
Wilfred Hughes
Shared words: Elisp, day, evaluate Score: 88.7
Jan 29, 2014 at 09:16
Elisp surprise of the day: (setq 0x123 42) is legal. #emacs
Wilfred Hughes
Shared words: Elisp, surprise, day Score: 88.5
Mar 5, 2017 at 23:11
To my surprise, mapcar is so fast (it's an elisp primitive) that creating lambdas is cheaper than using a loop:
dolist vs mapcar
dolist vs mapcar. GitHub Gist: instantly share code, notes, and snippets.
Wilfred Hughes
Shared words: Elisp, surprise Score: 51.4