[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 8555a3e1ed: Fix arity error when trying to add a file to an autom
From: |
Po Lu |
Subject: |
master 8555a3e1ed: Fix arity error when trying to add a file to an automake project |
Date: |
Tue, 11 Jan 2022 22:26:27 -0500 (EST) |
branch: master
commit 8555a3e1ed1d34cbaa172bde86eb3b11a1cd7940
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
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.
---
lisp/cedet/ede/project-am.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/cedet/ede/project-am.el b/lisp/cedet/ede/project-am.el
index 2803e1c307..544e39b872 100644
--- a/lisp/cedet/ede/project-am.el
+++ b/lisp/cedet/ede/project-am.el
@@ -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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 8555a3e1ed: Fix arity error when trying to add a file to an automake project,
Po Lu <=