comparison lisp/help.el @ 56637:4ea7f10f1b53

(describe-bindings): Doc fix.
author Luc Teirlinck <teirllm@auburn.edu>
date Mon, 09 Aug 2004 18:50:28 +0000
parents a1210c6fc77b
children 96649ac41424 3fd4a5c21153
comparison
equal deleted inserted replaced
56636:e8b05868f298 56637:4ea7f10f1b53
426 We put that list in a buffer, and display the buffer. 426 We put that list in a buffer, and display the buffer.
427 427
428 The optional argument PREFIX, if non-nil, should be a key sequence; 428 The optional argument PREFIX, if non-nil, should be a key sequence;
429 then we display only bindings that start with that prefix. 429 then we display only bindings that start with that prefix.
430 The optional argument BUFFER specifies which buffer's bindings 430 The optional argument BUFFER specifies which buffer's bindings
431 to display (default, the current buffer)." 431 to display (default, the current buffer). BUFFER can be a buffer
432 or a buffer name."
432 (interactive) 433 (interactive)
433 (or buffer (setq buffer (current-buffer))) 434 (or buffer (setq buffer (current-buffer)))
434 (help-setup-xref (list #'describe-bindings prefix buffer) (interactive-p)) 435 (help-setup-xref (list #'describe-bindings prefix buffer) (interactive-p))
435 (with-current-buffer buffer 436 (with-current-buffer buffer
436 (describe-bindings-internal nil prefix))) 437 (describe-bindings-internal nil prefix)))