unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* custom-link vs custom-button face
@ 2006-01-06  9:57 martin rudalics
  2006-01-22  0:54 ` Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: martin rudalics @ 2006-01-06  9:57 UTC (permalink / raw)


When "See also ..." and "Parent documentation" links don't reference a
manual they are displayed with `custom-button' instead of `custom-link'
face.  The tiny patch below should fix that.

*** cus-edit.el	Thu Jan  5 07:44:36 2006
--- cus-edit.el	Fri Jan  6 10:31:08 2006
***************
*** 2198,2204 ****
   	(insert prefix))
         (insert "See also ")
         (while links
! 	(push (widget-create-child-and-convert widget (car links))
   	      buttons)
   	(setq links (cdr links))
   	(cond ((null links)
--- 2198,2207 ----
   	(insert prefix))
         (insert "See also ")
         (while links
! 	(push (widget-create-child-and-convert
! 	       widget (car links)
! 	       :button-face 'custom-link
! 	       :mouse-face 'highlight)
   	      buttons)
   	(setq links (cdr links))
   	(cond ((null links)
***************
*** 2243,2249 ****
              (when links
                (insert "\nParent documentation: ")
                (while links
!                (push (widget-create-child-and-convert widget (car links))
                        buttons)
                  (setq links (cdr links))
                  (cond ((null links)
--- 2246,2255 ----
              (when links
                (insert "\nParent documentation: ")
                (while links
!                (push (widget-create-child-and-convert
! 		      widget (car links)
! 		      :button-face 'custom-link
! 		      :mouse-face 'highlight)
                        buttons)
                  (setq links (cdr links))
                  (cond ((null links)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-22  0:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-06  9:57 custom-link vs custom-button face martin rudalics
2006-01-22  0:54 ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).