emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 fc38671 1/2: Add helpful comment to compile-comma


From: Noam Postavsky
Subject: [Emacs-diffs] emacs-25 fc38671 1/2: Add helpful comment to compile-command's docstring
Date: Sun, 8 Jan 2017 17:13:26 +0000 (UTC)

branch: emacs-25
commit fc38671988d2d9c3ddb865bdc3a44e827fdb23ed
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    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 e62e017..0cb3f3b 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]