1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

Add helpful comment to compile-command's docstring

* lisp/progmodes/compile.el (compile-command): Mention trailing space in
docstring (Bug#25337).
This commit is contained in:
Noam Postavsky 2017-01-04 19:35:04 -05:00
parent ee65d858c7
commit fc38671988

View File

@ -680,7 +680,9 @@ You might also use mode hooks to specify it in certain modes, like this:
(concat \"make -k \"
(if buffer-file-name
(shell-quote-argument
(file-name-sans-extension buffer-file-name))))))))"
(file-name-sans-extension buffer-file-name))))))))
It's often useful to leave a space at the end of the value."
:type 'string
:group 'compilation)
;;;###autoload(put 'compile-command 'safe-local-variable (lambda (a) (and (stringp a) (or (not (boundp 'compilation-read-command)) compilation-read-command))))