diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-01-04 19:35:04 -0500 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-01-07 09:30:00 -0500 |
commit | fc38671988d2d9c3ddb865bdc3a44e827fdb23ed (patch) | |
tree | 607be511a9e4cd78ab594dfc695733bf7c7b4750 /lisp/progmodes | |
parent | ee65d858c7ace0656ea40808a8485e7faae884d7 (diff) | |
download | emacs-fc38671988d2d9c3ddb865bdc3a44e827fdb23ed.tar.gz |
Add helpful comment to compile-command's docstring
* lisp/progmodes/compile.el (compile-command): Mention trailing space in
docstring (Bug#25337).
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/compile.el | 4 |
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: (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)))) |