Suggested by Kelly Dean.
Fixes: debbugs:13105
+2012-12-21 Chong Yidong <cyd@gnu.org>
+
+ * help-fns.el (describe-variable): Make sure we get the right
+ buffer name (Bug#13105). Suggested by Kelly Dean.
+
2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
* comint.el (comint-redirect-previous-input-string): New variable.
(cond
((bufferp locus)
(princ (format "Local in buffer %s; "
- (buffer-name))))
+ (buffer-name buffer))))
((framep locus)
(princ (format "It is a frame-local variable; ")))
((terminal-live-p locus)