]> code.delx.au - gnu-emacs/blobdiff - lisp/help-fns.el
Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca
[gnu-emacs] / lisp / help-fns.el
index d38501509bbb12b9942fc9409b02002785f67fb4..04bcc9c07633e37e6fc4b4d9c7ad2f200dacd77c 100644 (file)
@@ -789,7 +789,7 @@ it is displayed along with the global value."
              (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)