Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [lexical-binding]

The tag has no usage guidance.

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
162 views

Using a `defconst' or `defvar' While the Variable Has a Local Binding Sets the Global Binding?

The GNU Emacs Lisp Reference Manual, 12.5 Defining Global Variables: If you use a defconst or defvar special form while the variable has a local binding (made with let, or a function argument), it ...
shynur's user avatar
  • 5,328
0 votes
0 answers
24 views

Updating old customization code using deprecated lexical-let

Old code (lexical-let ((beg -1) (end -1) (prev-mid -1)) (defun forward-binary () (interactive) (if (/= prev-mid (point)) (setq beg -1 end -1) (setq beg prev-mid)) (if ...
ychaouche's user avatar
  • 207