|
From: | Stefan Monnier |
Subject: | Re: [elpa] master 54ced08 3/3: Merge remote-tracking branch 'ztree/master' |
Date: | Sat, 13 Jun 2015 10:23:37 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> -;; Compatibility: GNU Emacs GNU Emacs 24.x > +;; Compatibility: GNU Emacs 24.x So is it OK if I change those files to use lexical-binding? > (defun newline-and-begin () > "Move a point to the beginning of the next line." > - (newline) > + (insert "\n") > (beginning-of-line)) The beginning-of-line can be removed as well (at which point you're better off removing newline-and-begin altogether and simply replace every call by (insert "\n")). One more thing: I see that ztree-util.el defines several functions (such as the one here) without a "ztree-" prefix. It would be good to fix this. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |