From: Eduard Wiebe <usenet@pusto.de>
To: 5640@debbugs.gnu.org
Subject: bug#5640: 23.1.92; [patch] cedet: use of c(a|d)ddr functions
Date: Wed, 24 Feb 2010 15:35:44 +0100 [thread overview]
Message-ID: <861vga7lbz.fsf@nirvana.pusto.de> (raw)
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
next reply other threads:[~2010-02-24 14:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-24 14:35 Eduard Wiebe [this message]
2010-02-24 15:13 ` bug#5640: 23.1.92; [patch] cedet: use of c(a|d)ddr functions Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861vga7lbz.fsf@nirvana.pusto.de \
--to=usenet@pusto.de \
--cc=5640@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.