Fix arity error when trying to add a file to an automake project
* lisp/cedet/ede/project-am.el (project-add-file): Add ignored _FILE parameter like the other `project-add-file' methods.
This commit is contained in:
parent
9376f456af
commit
8555a3e1ed
1 changed files with 2 additions and 1 deletions
|
@ -191,8 +191,9 @@ other meta-variable based on this name.")
|
|||
"Encode one makefile.")
|
||||
|
||||
;;; Code:
|
||||
(cl-defmethod project-add-file ((ot project-am-target))
|
||||
(cl-defmethod project-add-file ((ot project-am-target) &optional _file)
|
||||
"Add the current buffer into a project.
|
||||
_FILE is ignored.
|
||||
OT is the object target. DIR is the directory to start in."
|
||||
(let* ((target (if ede-object (error "Already associated w/ a target")
|
||||
(let ((amf (project-am-load default-directory)))
|
||||
|
|
Loading…
Add table
Reference in a new issue