From: Juri Linkov Date: Thu, 8 Dec 2005 07:51:32 +0000 (+0000) Subject: (custom-add-parent-links): Filter out custom-group-link, X-Git-Tag: emacs-pretest-22.0.90~5451 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3f30c2726a7a438c9a9d850f87f8f8e82599d353;p=emacs.git (custom-add-parent-links): Filter out custom-group-link, because such links don't lead to parent documentation. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 84232e0a2be..5d713859886 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,17 @@ +2005-12-08 Juri Linkov + + * info.el (Info-mode-map): Bind M-TAB to `Info-prev-reference'. + + * button.el (button-buffer-map): Bind M-TAB to `backward-button'. + + * wid-edit.el (widget-keymap): Bind M-TAB to `widget-backward'. + + * pcvs.el (defun-cvs-mode): Put `definition-name' property on + the constructed function name fun-1. + + * cus-edit.el (custom-add-parent-links): Filter out custom-group-link, + because such links don't lead to parent documentation. + 2005-12-08 Kenichi Handa * descr-text.el (describe-char): Use *Help-2* buffer if the @@ -187,7 +201,8 @@ * font-core.el (global-font-lock-mode): Use define-global-minor-mode instead of easy-mmode-define-global-mode. Add `:group font-lock'. - (font-lock-mode): Replace `:group font-lock' with `nil nil nil'. + (font-lock-mode): Replace `:group font-lock' with `nil nil nil' + because there is no customization option for it. * font-lock.el (lisp-font-lock-keywords-1): Add define-global-minor-mode. @@ -223,8 +238,8 @@ property on their symbols (they have only `custom-loads'). * simple.el (completion-setup-function): Put completions-common-part - face on full completion string too (i.e. completion string without - completions-first-difference face). + face on complete completion string too (i.e. completion string + without completions-first-difference face). * man.el (Man-section-regexp): Add 0-9 to support "3X11" sections. diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index d4ea953bc09..8a3f6647f54 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -2155,7 +2155,11 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"." (setq parents (cons symbol parents))))) (and (null (get name 'custom-links)) ;No links of its own. (= (length parents) 1) ;A single parent. - (let* ((links (get (car parents) 'custom-links)) + (let* ((links (delq nil (mapcar (lambda (w) + (unless (eq (widget-type w) + 'custom-group-link) + w)) + (get (car parents) 'custom-links)))) (many (> (length links) 2))) (when links (insert "\nParent documentation: ")