--- emacs-24.2/lisp/help-fns.el 2012-08-22 22:33:42.000000000 -0700 +++ emacs-24.2/lisp/help-fns.el.new2 2012-12-04 14:15:45.296692483 -0700 @@ -742,7 +742,7 @@ (princ (format "%socal in buffer %s; " (if (get variable 'permanent-local) "Permanently l" "L") - (buffer-name)))) + (with-current-buffer buffer (buffer-name))))) ((framep locus) (princ (format "It is a frame-local variable; "))) ((terminal-live-p locus)