diff options
| author | Stefan Monnier | 2009-10-05 19:50:15 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-10-05 19:50:15 +0000 |
| commit | 828821887bd26033b4eef18d5ff03cf49aa09a0b (patch) | |
| tree | 01f2334ddc79ad3b927510fc7bf7569a58f99a9a | |
| parent | a8f316cab06c8d72c0e6d7159cf80ae0bb4da2ca (diff) | |
| download | emacs-828821887bd26033b4eef18d5ff03cf49aa09a0b.tar.gz emacs-828821887bd26033b4eef18d5ff03cf49aa09a0b.zip | |
(describe-function-1): Don't burp is the function is not a symbol.
| -rw-r--r-- | lisp/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/help-fns.el | 4 |
2 files changed, 12 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6f85dba1bff..5523ec162d6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * help-fns.el (describe-function-1): Don't burp is the function is not | ||
| 4 | a symbol. | ||
| 5 | |||
| 1 | 2009-10-05 Juanma Barranquero <lekktu@gmail.com> | 6 | 2009-10-05 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart) | 8 | * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart) |
| @@ -54,8 +59,8 @@ | |||
| 54 | 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu> | 59 | 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu> |
| 55 | 60 | ||
| 56 | * vc-hg.el (log-view-vc-backend): Declare for compiler. | 61 | * vc-hg.el (log-view-vc-backend): Declare for compiler. |
| 57 | (vc-hg-outgoing-mode, vc-hg-incoming-mode): Set | 62 | (vc-hg-outgoing-mode, vc-hg-incoming-mode): |
| 58 | log-view-vc-backend so that diff can work. | 63 | Set log-view-vc-backend so that diff can work. |
| 59 | 64 | ||
| 60 | * log-view.el (log-view-diff): Use vc-diff-internal instead of | 65 | * log-view.el (log-view-diff): Use vc-diff-internal instead of |
| 61 | vc-version-diff. | 66 | vc-version-diff. |
| @@ -74,8 +79,8 @@ | |||
| 74 | (copy-directory): Use it. Remove parameter PRESERVE-UID-GID. | 79 | (copy-directory): Use it. Remove parameter PRESERVE-UID-GID. |
| 75 | 80 | ||
| 76 | * net/tramp.el (tramp-verbose): Fix docstring. | 81 | * net/tramp.el (tramp-verbose): Fix docstring. |
| 77 | (tramp-methods): Add recursive option to `tramp-copy-args'. Add | 82 | (tramp-methods): Add recursive option to `tramp-copy-args'. |
| 78 | `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2", | 83 | Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2", |
| 79 | "scp1_old", "scp2_old", "rsync", "rsyncc". | 84 | "scp1_old", "scp2_old", "rsync", "rsyncc". |
| 80 | (tramp-default-method): Check also for `auth-source-user-or-password'. | 85 | (tramp-default-method): Check also for `auth-source-user-or-password'. |
| 81 | (tramp-file-name-handler-alist, tramp-file-name-for-operation): | 86 | (tramp-file-name-handler-alist, tramp-file-name-for-operation): |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index e30fe28682c..eed605e3e93 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -457,7 +457,9 @@ suitable file is found, return nil." | |||
| 457 | (terpri))))) | 457 | (terpri))))) |
| 458 | ;; Note that list* etc do not get this property until | 458 | ;; Note that list* etc do not get this property until |
| 459 | ;; cl-hack-byte-compiler runs, after bytecomp is loaded. | 459 | ;; cl-hack-byte-compiler runs, after bytecomp is loaded. |
| 460 | (when (eq (get function 'byte-compile) 'cl-byte-compile-compiler-macro) | 460 | (when (and (symbolp function) |
| 461 | (eq (get function 'byte-compile) | ||
| 462 | 'cl-byte-compile-compiler-macro)) | ||
| 461 | (princ "This function has a compiler macro") | 463 | (princ "This function has a compiler macro") |
| 462 | (let ((lib (get function 'compiler-macro-file))) | 464 | (let ((lib (get function 'compiler-macro-file))) |
| 463 | (when (stringp lib) | 465 | (when (stringp lib) |