[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Byte-compile problem
From: |
Andreas Schwab |
Subject: |
Re: Byte-compile problem |
Date: |
Thu, 11 Nov 2004 14:11:14 +0100 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Sun Yijiang <sunyijiang@gmail.com> writes:
> Emacs version: CVS 2004-11-10
>
> Problematic codes:
> ;;++++++++++++++++++++++++++++++++++++++++
> 1170 (defun emacs-wiki-link-at-point (&optional pos)
> "Return non-nil if a URL or Wiki link name is at point."
> (if (or (null pos)
> (and (char-after pos)
> (not (eq (char-syntax (char-after pos)) ? ))))
> (let ((case-fold-search nil)
> (here (or pos (point))))
> (save-excursion
> (goto-char here)
> (skip-chars-backward "^'\"<>{}( [\t\n")
> 1180 (or (and (search-backward "[[" (line-beginning-position) t)
> (looking-at emacs-wiki-name-regexp)
> (<= here (match-end 0)))
> (and (goto-char here)
> (skip-chars-backward "^'\"<>{}( [\t\n")
> (looking-at emacs-wiki-url-or-name-regexp)))))))
> ;;++++++++++++++++++++++++++++++++++++++++
> Byte-compile Messages:
> emacs-wiki.el:1170:44:Warning: attempt to inline `t' before it was defined
> emacs-wiki.el:1180:68:Warning: `t' called as a function
I can't reproduce that, all I get is this:
In emacs-wiki-link-at-point:
x.el:12:32:Warning: reference to free variable `emacs-wiki-name-regexp'
x.el:16:32:Warning: reference to free variable `emacs-wiki-url-or-name-regexp'
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."