summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-09-30 16:24:56 +0800
committerChong Yidong <cyd@gnu.org>2012-09-30 16:24:56 +0800
commitc4c0c2dff6a733c411119418de41e2fb3a72b262 (patch)
tree496271f5fc009bea4031d5fd36633b6c905506f5 /lisp/help-fns.el
parentcb5b02667a8dcfc00d990103b2fb3236259bd627 (diff)
downloademacs-c4c0c2dff6a733c411119418de41e2fb3a72b262.tar.gz
* help-fns.el (help-fns--obsolete): Fix last change.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 7dc7eebb061..ef482f8f0e9 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -494,8 +494,7 @@ suitable file is found, return nil."
(use (car obsolete)))
(when obsolete
(insert "\nThis "
- (if (eq (car-safe (symbol-function 'with-current-buffer))
- 'macro)
+ (if (eq (car-safe (symbol-function function)) 'macro)
"macro"
"function")
" is obsolete")