From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Daniel Brockman <daniel@brockman.se>
Cc: emacs-devel@gnu.org
Subject: Re: Toio little error information from widgets
Date: Wed, 07 Feb 2007 01:17:41 +0100 [thread overview]
Message-ID: <45C91AA5.9030504@gmail.com> (raw)
In-Reply-To: <8764aeq17a.fsf@wigwam.brockman.se>
Daniel Brockman wrote:
> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
>
>> ;;(or (eq value 'fundamental-mode)
>> (intern-soft (concat sym-name "-hook"))
>> (boundp (intern-soft (concat sym-name "-hook"))))
>> ;;)
>
> This part does not make sense:
>
> (or (intern-soft (concat sym-name "-hook"))
> (boundp (intern-soft (boncat sym-name "-hook"))))
>
> In general, nothing that looks like this can make sense,
>
> (or FOO (boundp FOO))
>
> because `boundp' will only ever be called if FOO is nil.
>
Thamnks. Sorry, I just added the "fundamental-mode" line to make it more
clear when I posted. I missed to put and "add" around the following two
lines.
It should be
;;(or (eq value 'fundamental-mode)
;; (and
(intern-soft (concat sym-name "-hook"))
(boundp (intern-soft (concat sym-name "-hook"))))
;;))
Both the "fundamental-line" and the "and" line must be uncommented to
get it working.
next prev parent reply other threads:[~2007-02-07 0:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-06 23:53 Toio little error information from widgets Lennart Borgman (gmail)
2007-02-07 0:08 ` Daniel Brockman
2007-02-07 0:17 ` Lennart Borgman (gmail) [this message]
2007-02-07 23:47 ` Lennart Borgman (gmail)
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=45C91AA5.9030504@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=daniel@brockman.se \
--cc=emacs-devel@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.