June 1st 2026 - Interesting Finds

Emacs show the GNU GPL license

We can run (describe-copying) to see the GNU GPL license. Default binding is C-h C-c.

A small function to evaluate elisp and replace the function with the result of the code

Source

(defun crux-eval-and-replace ()
  "Replace the preceding sexp with its value."
  (interactive)
  (let ((value (eval (elisp--preceding-sexp))))
    (backward-kill-sexp)
    (insert (format "%S" value))))