aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoam Postavsky2017-01-04 19:35:04 -0500
committerNoam Postavsky2017-01-07 09:30:00 -0500
commitfc38671988d2d9c3ddb865bdc3a44e827fdb23ed (patch)
tree607be511a9e4cd78ab594dfc695733bf7c7b4750
parentee65d858c7ace0656ea40808a8485e7faae884d7 (diff)
downloademacs-fc38671988d2d9c3ddb865bdc3a44e827fdb23ed.tar.gz
emacs-fc38671988d2d9c3ddb865bdc3a44e827fdb23ed.zip
Add helpful comment to compile-command's docstring
* lisp/progmodes/compile.el (compile-command): Mention trailing space in docstring (Bug#25337).
-rw-r--r--lisp/progmodes/compile.el4
1 files changed, 3 insertions, 1 deletions
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:
680 (concat \"make -k \" 680 (concat \"make -k \"
681 (if buffer-file-name 681 (if buffer-file-name
682 (shell-quote-argument 682 (shell-quote-argument
683 (file-name-sans-extension buffer-file-name))))))))" 683 (file-name-sans-extension buffer-file-name))))))))
684
685It's often useful to leave a space at the end of the value."
684 :type 'string 686 :type 'string
685 :group 'compilation) 687 :group 'compilation)
686;;;###autoload(put 'compile-command 'safe-local-variable (lambda (a) (and (stringp a) (or (not (boundp 'compilation-read-command)) compilation-read-command)))) 688;;;###autoload(put 'compile-command 'safe-local-variable (lambda (a) (and (stringp a) (or (not (boundp 'compilation-read-command)) compilation-read-command))))