Article View: gnu.emacs.bug
Article #87576Re: Combining info and faces
From: Kevin Rodgers
Date: Wed, 14 Sep 1994 16:38
Date: Wed, 14 Sep 1994 16:38
46 lines
2410 bytes
2410 bytes
In article <199409032146.RAA29440@shekel.mcl.cs.columbia.edu> ezk@cs.columbia.edu (Erez Zadok, HWank1) wrote:
>In GNU Emacs 19.25.1 of Thu Jun 2 1994 on ober.cs.columbia.edu (sparc-sun-solaris2)
>
>If I have a .emacs containing of only the following:
>
> (require 'info)
> (require 'faces)
>
>and then I run M-x info in a NON-X-window (just plain ascii terminal),
>I get
>
> Wrong type argument: internal-facep, default
...
>Any ideas what is going wrong?
Loading the `faces' library defines `make-face', and `Info-mode' decides
whether to fontify based on whether `make-face' is bound. Try this
(untested) patch:
*** info.el.~1.1~ Wed Sep 14 10:24:38 1994
--- info.el.~1.2~ Wed Sep 14 10:36:32 1994
***************
*** 1383,1389 ****
(make-local-variable 'Info-tag-table-marker)
(make-local-variable 'Info-history)
(make-local-variable 'Info-index-alternatives)
! (if (fboundp 'make-face)
(progn
(make-face 'info-node)
(make-face 'info-menu-5)
--- 1383,1392 ----
(make-local-variable 'Info-tag-table-marker)
(make-local-variable 'Info-history)
(make-local-variable 'Info-index-alternatives)
! (if (and (fboundp 'make-face)
! ;; In case faces.el was loaded, but the standard faces weren't
! ;; defined:
! (memq 'default (face-list)))
(progn
(make-face 'info-node)
(make-face 'info-menu-5)
--
Kevin Rodgers <kevinr@ihs.com> Project Engineer
Information Handling Services Electronic Systems Development
15 Inverness Way East, M/S A203 GO BUFFS! Beat Wisconsin!
Englewood CO 80112 USA (303) 397-2807[voice]/-2620[fax]
Technical Details
Message-ID:
<9409141630.AA00254@ihs.com>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!ihs.com!kevinrShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,3b06a93bbb75485c,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-09-15 04:27:30 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!ihs.com!kevinr From: kevinr@ihs.com (Kevin Rodgers) Newsgroups: gnu.emacs.bug Subject: Re: Combining info and faces Date: 14 Sep 1994 12:38:12 -0400 Organization: Information Handling Services, Electronic Systems Development Lines: 46 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9409141630.AA00254@ihs.com> Reply-To: Kevin Rodgers <kevinr@ihs.com>