[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Byte-compile problem
From: |
Sun Yijiang |
Subject: |
Byte-compile problem |
Date: |
Thu, 11 Nov 2004 19:30:24 +0800 |
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
When use emacs-wiki.el, everything is OK, but there is something wrong
when I use emacs-wiki.elc.
- Byte-compile problem,
Sun Yijiang <=