From fc38671988d2d9c3ddb865bdc3a44e827fdb23ed Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Wed, 4 Jan 2017 19:35:04 -0500 Subject: [PATCH] Add helpful comment to compile-command's docstring * lisp/progmodes/compile.el (compile-command): Mention trailing space in docstring (Bug#25337). --- lisp/progmodes/compile.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index e62e017aa0a..0cb3f3bfddd 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -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)))) -- 2.11.4.GIT