Changeset 3988 for vendor/emacs-CVS_HEAD/lisp/help-mode.el
- Timestamp:
- 11/26/05 08:33:26 (3 years ago)
- Files:
-
- vendor/emacs-CVS_HEAD/lisp/help-mode.el (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
vendor/emacs-CVS_HEAD/lisp/help-mode.el
r3939 r3988 385 385 (cond 386 386 ((match-string 3) ; `variable' &c 387 (and ( boundp sym) ; `variable' doesn't ensure387 (and (or (boundp sym) ; `variable' doesn't ensure 388 388 ; it's actually bound 389 (get sym 'variable-documentation)) 389 390 (help-xref-button 8 'help-variable sym))) 390 391 ((match-string 4) ; `function' &c … … 407 408 (save-match-data (looking-at "[ \t\n]+face\\W"))) 408 409 (help-xref-button 8 'help-face sym)) 409 ((and (boundp sym) (fboundp sym)) 410 ((and (or (boundp sym) 411 (get sym 'variable-documentation)) 412 (fboundp sym)) 410 413 ;; We can't intuit whether to use the 411 414 ;; variable or function doc -- supply both. 412 415 (help-xref-button 8 'help-symbol sym)) 413 416 ((and 414 (boundp sym) 417 (or (boundp sym) 418 (get sym 'variable-documentation)) 415 419 (or 416 420 (documentation-property … … 519 523 (keywordp sym)) 520 524 nil) 521 ((and sym (boundp sym)) 525 ((and sym 526 (or (boundp sym) 527 (get sym 528 'variable-documentation))) 522 529 'help-variable)))) 523 530 (when type (help-xref-button 1 type sym))) … … 543 550 (setq help-xref-stack-item nil) 544 551 (describe-function symbol))) 545 (sdoc (when (boundp symbol) 552 (sdoc (when (or (boundp symbol) 553 (get symbol 'variable-documentation)) 546 554 ;; Don't record the current entry in the stack. 547 555 (setq help-xref-stack-item nil) … … 640 648 (progn (skip-syntax-forward "w_") 641 649 (point))))))) 642 (when (or (boundp sym) (fboundp sym) (facep sym)) 650 (when (or (boundp sym) 651 (get sym 'variable-documentation) 652 (fboundp sym) (facep sym)) 643 653 (help-do-xref pos #'help-xref-interned (list sym)))))) 644 654
