X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/d8fb8cce84b923a3289b69549e30958710ac3ebb..0877d0dc24ee792b9b14592869ea1aa0934aee58:/lisp/help-fns.el diff --git a/lisp/help-fns.el b/lisp/help-fns.el index d38501509b..04bcc9c076 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -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)