From: Noam Postavsky Date: Thu, 5 Jan 2017 00:35:04 +0000 (-0500) Subject: Add helpful comment to compile-command's docstring X-Git-Tag: emacs-25.2-rc1~36 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fc38671988d2d9c3ddb865bdc3a44e827fdb23ed;p=emacs.git Add helpful comment to compile-command's docstring * lisp/progmodes/compile.el (compile-command): Mention trailing space in docstring (Bug#25337). --- 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))))