* bug#5640: 23.1.92; [patch] cedet: use of c(a|d)ddr functions
@ 2010-02-24 14:35 Eduard Wiebe
2010-02-24 15:13 ` Chong Yidong
0 siblings, 1 reply; 2+ messages in thread
From: Eduard Wiebe @ 2010-02-24 14:35 UTC (permalink / raw)
To: 5640
Hello,
i received following error message while trying cedet.
Idle Parse Error: "#<buffer test.js> - Symbol's function definition is void: caddr"
Mark set [2 times]
My simple fix follows:
2010-02-24 Eduard Wiebe <usenet@pusto.de>
* javascript.el (wisent-javascript-jv-expand-tag): Avoid
c(ad)ddr and use c(ad)r of cddr.
diff --git a/lisp/cedet/semantic/wisent/javascript.el b/lisp/cedet/semantic/wisent/javascript.el
index 34afb75..480fbec 100644
--- a/lisp/cedet/semantic/wisent/javascript.el
+++ b/lisp/cedet/semantic/wisent/javascript.el
@@ -48,8 +48,8 @@ to this variable NAME."
elts (cdr elts)
clone (semantic-tag-clone tag (car elt))
value (car (cdr elt))
- start (if elts (caddr elt) (semantic-tag-start tag))
- end (if xpand (cdddr elt) (semantic-tag-end tag))
+ start (if elts (car (cddr elt)) (semantic-tag-start tag))
+ end (if xpand (cdr (cddr elt)) (semantic-tag-end tag))
xpand (cons clone xpand))
;; Set the definition of the cloned tag
(semantic-tag-put-attribute clone :default-value value)
--
Eduard Wiebe
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#5640: 23.1.92; [patch] cedet: use of c(a|d)ddr functions
2010-02-24 14:35 bug#5640: 23.1.92; [patch] cedet: use of c(a|d)ddr functions Eduard Wiebe
@ 2010-02-24 15:13 ` Chong Yidong
0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2010-02-24 15:13 UTC (permalink / raw)
To: Eduard Wiebe; +Cc: 5640
Eduard Wiebe <usenet@pusto.de> writes:
> i received following error message while trying cedet.
>
> Idle Parse Error: "#<buffer test.js> - Symbol's function definition is void: caddr"
> Mark set [2 times]
>
> My simple fix follows:
>
> 2010-02-24 Eduard Wiebe <usenet@pusto.de>
>
> * javascript.el (wisent-javascript-jv-expand-tag): Avoid
> c(ad)ddr and use c(ad)r of cddr.
Thank you. I've checked it in.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-24 15:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-24 14:35 bug#5640: 23.1.92; [patch] cedet: use of c(a|d)ddr functions Eduard Wiebe
2010-02-24 15:13 ` Chong Yidong
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.