emacs/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-...

5 lines
86 B
EmacsLisp

;;; -*- lexical-binding: t; -*-
(let ((foo nil))
(add-hook 'foo #'next-line)
foo)