438 |
|
|
439 |
;;;###autoload |
;;;###autoload |
440 |
(defun describe-syntax (&optional buffer) |
(defun describe-syntax (&optional buffer) |
|
(interactive) |
|
441 |
"Describe the syntax specifications in the syntax table of BUFFER. |
"Describe the syntax specifications in the syntax table of BUFFER. |
442 |
The descriptions are inserted in a help buffer, which is then displayed. |
The descriptions are inserted in a help buffer, which is then displayed. |
443 |
BUFFER defaults to the current buffer." |
BUFFER defaults to the current buffer." |
444 |
|
(interactive) |
445 |
(setq buffer (or buffer (current-buffer))) |
(setq buffer (or buffer (current-buffer))) |
446 |
(help-setup-xref (list #'describe-syntax buffer) (interactive-p)) |
(help-setup-xref (list #'describe-syntax buffer) (interactive-p)) |
447 |
(with-output-to-temp-buffer (help-buffer) |
(with-output-to-temp-buffer (help-buffer) |