unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
[parent not found: <mailman.15349.1132065762.20277.help-gnu-emacs@gnu.org>]
* puzzling byte-compile-file message: `=' called for effect
@ 2005-11-15 14:42 Jim Ottaway
  0 siblings, 0 replies; 6+ messages in thread
From: Jim Ottaway @ 2005-11-15 14:42 UTC (permalink / raw)



When byte-compiling a file, I get this message:

In nl-publish-markup-list:
nested-lists.el:395:19:Warning: `=' called for effect

What does this mean?  I grepped for 'for effect' in Emacs's
lisp/emacs-lisp subdirectory, and found the relevant parts of
byte-opt.el, but I am no wiser.

The code with the '=' in it is:

(when (and nl-paras-fixed-p
                     (save-excursion
                       (goto-char nl-markup-start)
                       (goto-char (muse-line-beginning-position))
                       (= (forward-line -1) 0)
                       (looking-at "^\\S-")))
            (with-current-buffer nl-temp-buffer
              (goto-char (point-min))
              (insert "\n\n")))

Any ideas? Does it mean that the byte-compiler thinks that
(forward-line -1) will always return 0 at that point? Or does 'for
effect' mean something else?

-- 
Jim Ottaway

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-15 23:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.15359.1132072766.20277.help-gnu-emacs@gnu.org>
2005-11-15 17:09 ` puzzling byte-compile-file message: `=' called for effect Jim Ottaway
     [not found] <mailman.15349.1132065762.20277.help-gnu-emacs@gnu.org>
2005-11-15 16:07 ` Yevgeniy Makarov
2005-11-15 16:19   ` Jim Ottaway
2005-11-15 16:39   ` Drew Adams
2005-11-15 23:22     ` Richard M. Stallman
2005-11-15 14:42 Jim Ottaway

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).