diff options
| author | Stefan Monnier | 2012-06-27 17:16:32 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-06-27 17:16:32 -0400 |
| commit | 04901786943c00a9d2077d39ecbd2ac5c6f54b5f (patch) | |
| tree | 2cf103d5688aafe2f2eda9d90d6641d508867d5c | |
| parent | 1ec4b7b25979ff9ea72a3ea35bf35d5882f467f7 (diff) | |
| download | emacs-04901786943c00a9d2077d39ecbd2ac5c6f54b5f.tar.gz emacs-04901786943c00a9d2077d39ecbd2ac5c6f54b5f.zip | |
* lisp/help-mode.el (help-make-xrefs): Don't just withstand
cyclic-variable-indirection but any error in documentation-property.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/cl.el | 2 | ||||
| -rw-r--r-- | lisp/help-mode.el | 12 |
3 files changed, 10 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1bcd9c7001e..566dad73cf0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * help-mode.el (help-make-xrefs): Don't just withstand | ||
| 4 | cyclic-variable-indirection but any error in documentation-property. | ||
| 5 | |||
| 3 | * loadup.el (purify-flag): Pre-grow the hash-table to reduce the | 6 | * loadup.el (purify-flag): Pre-grow the hash-table to reduce the |
| 4 | memory use. | 7 | memory use. |
| 5 | * bindings.el (bindings--define-key): New function. | 8 | * bindings.el (bindings--define-key): New function. |
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el index 0b6d9cd2223..04ff194a3bf 100644 --- a/lisp/emacs-lisp/cl.el +++ b/lisp/emacs-lisp/cl.el | |||
| @@ -519,7 +519,7 @@ Unlike `flet', this macro is fully compliant with the Common Lisp standard. | |||
| 519 | 519 | ||
| 520 | ;; Generalized variables are provided by gv.el, but some details are | 520 | ;; Generalized variables are provided by gv.el, but some details are |
| 521 | ;; not 100% compatible: not worth the trouble to add them to cl-lib.el, but we | 521 | ;; not 100% compatible: not worth the trouble to add them to cl-lib.el, but we |
| 522 | ;; still to support old users of cl.el. | 522 | ;; still need to support old users of cl.el. |
| 523 | 523 | ||
| 524 | ;; FIXME: `letf' is unsatisfactory because it does not really "restore" the | 524 | ;; FIXME: `letf' is unsatisfactory because it does not really "restore" the |
| 525 | ;; previous state. If the getter/setter loses information, that info is | 525 | ;; previous state. If the getter/setter loses information, that info is |
diff --git a/lisp/help-mode.el b/lisp/help-mode.el index 85c1e62e2c3..fa7d9b325db 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el | |||
| @@ -500,14 +500,14 @@ that." | |||
| 500 | ((and | 500 | ((and |
| 501 | (or (boundp sym) | 501 | (or (boundp sym) |
| 502 | (get sym 'variable-documentation)) | 502 | (get sym 'variable-documentation)) |
| 503 | (or | 503 | (condition-case err |
| 504 | (documentation-property | 504 | (or |
| 505 | sym 'variable-documentation) | 505 | (documentation-property |
| 506 | (condition-case nil | 506 | sym 'variable-documentation) |
| 507 | (documentation-property | 507 | (documentation-property |
| 508 | (indirect-variable sym) | 508 | (indirect-variable sym) |
| 509 | 'variable-documentation) | 509 | 'variable-documentation)) |
| 510 | (cyclic-variable-indirection nil)))) | 510 | (error (message "No doc found: %S" err) nil))) |
| 511 | (help-xref-button 8 'help-variable sym)) | 511 | (help-xref-button 8 'help-variable sym)) |
| 512 | ((fboundp sym) | 512 | ((fboundp sym) |
| 513 | (help-xref-button 8 'help-function sym))))))) | 513 | (help-xref-button 8 'help-function sym))))))) |