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

5 lines
89 B
EmacsLisp

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