* lisp/help-mode.el (help-make-xrefs): Don't just withstand
cyclic-variable-indirection but any error in documentation-property.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* help-mode.el (help-make-xrefs): Don't just withstand
|
||||
cyclic-variable-indirection but any error in documentation-property.
|
||||
|
||||
* loadup.el (purify-flag): Pre-grow the hash-table to reduce the
|
||||
memory use.
|
||||
* bindings.el (bindings--define-key): New function.
|
||||
|
||||
@@ -519,7 +519,7 @@ Unlike `flet', this macro is fully compliant with the Common Lisp standard.
|
||||
|
||||
;; Generalized variables are provided by gv.el, but some details are
|
||||
;; not 100% compatible: not worth the trouble to add them to cl-lib.el, but we
|
||||
;; still to support old users of cl.el.
|
||||
;; still need to support old users of cl.el.
|
||||
|
||||
;; FIXME: `letf' is unsatisfactory because it does not really "restore" the
|
||||
;; previous state. If the getter/setter loses information, that info is
|
||||
|
||||
@@ -500,14 +500,14 @@ that."
|
||||
((and
|
||||
(or (boundp sym)
|
||||
(get sym 'variable-documentation))
|
||||
(or
|
||||
(documentation-property
|
||||
sym 'variable-documentation)
|
||||
(condition-case nil
|
||||
(condition-case err
|
||||
(or
|
||||
(documentation-property
|
||||
sym 'variable-documentation)
|
||||
(documentation-property
|
||||
(indirect-variable sym)
|
||||
'variable-documentation)
|
||||
(cyclic-variable-indirection nil))))
|
||||
'variable-documentation))
|
||||
(error (message "No doc found: %S" err) nil)))
|
||||
(help-xref-button 8 'help-variable sym))
|
||||
((fboundp sym)
|
||||
(help-xref-button 8 'help-function sym)))))))
|
||||
|
||||
Reference in New Issue
Block a user