diff options
author | Chong Yidong <cyd@gnu.org> | 2012-12-21 11:37:02 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-12-21 11:37:02 +0800 |
commit | f5733f8759da4d44d72eda19afc36860f32d1217 (patch) | |
tree | a1fe791e6ef53760910f4ff91a310404b7e1cdc9 /lisp/help-fns.el | |
parent | fab6916d0c0e5c0f8a942ed040fe7f5d0013b145 (diff) | |
download | emacs-f5733f8759da4d44d72eda19afc36860f32d1217.tar.gz |
* help-fns.el (describe-variable): Make sure we get the right buffer name.
Suggested by Kelly Dean.
Fixes: debbugs:13105
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r-- | lisp/help-fns.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index b552d8c1357..bb3695abcc2 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) |