[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
flymake info file has wrong command name (flymake-build-relative-path)
From: |
asc |
Subject: |
flymake info file has wrong command name (flymake-build-relative-path) |
Date: |
Fri, 1 Jul 2005 15:27:13 -0500 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.0.2) |
Looks like this might change anyway (based on fixme comment in lisp), but for
this cut-and-paste elisp writer this tripped me up.
File: flymake, Node: Example -- Configuring a tool called directly, Next:
Example -- Configuring a tool called via make, Up: Adding support for a new
syntax check tool
Example - Configuring a tool called directly
--------------------------------------------
In this example, we will add support for `perl' as a syntax check
tool. `perl' supports the `-c' option which does syntax checking.
First, we write the `init-function':
(defun flymake-perl-init (buffer)
(let* ((temp-file (flymake-init-create-temp-buffer-copy
buffer 'flymake-create-temp-inplace))
(local-file (concat (flymake-build-relative-path
^^^^
---------------------------------------------------------------------------
(defun flymake-build-relative-filename (from-dir to-dir)
^^^^^^^^
"Return rel: FROM-DIR/rel == TO-DIR."
;; FIXME: Why not use `file-relative-name'?
- flymake info file has wrong command name (flymake-build-relative-path),
asc <=