emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation-next-error - extra `let' binding?


From: Drew Adams
Subject: compilation-next-error - extra `let' binding?
Date: Fri, 8 Feb 2008 10:41:29 -0800

Can't tell for sure without checking all of the code called by the
body of the `let', but it looks like the `let' binding of `loc' in
`compilation-next-error' is superfluous:
 
(let* ((msg (get-text-property pt 'message))
       (loc (car msg)) ; ???????
       last)
 
If so, taking out the binding would make the code easier to
understand. If not, adding a comment for it might make the code easier
to understand.
 

In GNU Emacs 22.1.90.1 (i386-mingw-nt5.1.2600)
 of 2008-01-30 on PRETEST
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]