diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-05-17 15:27:26 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-05-17 15:27:26 -0400 |
commit | 5ad4bef5758fd694d209a8fb63f42bcfdb22785c (patch) | |
tree | 813a37580e4d3a4d1585110aae6d14815c6d2ad6 /lisp/simple.el | |
parent | 16455a8509026404dcba9a1adfe389883b3ef990 (diff) | |
download | emacs-5ad4bef5758fd694d209a8fb63f42bcfdb22785c.tar.gz emacs-5ad4bef5758fd694d209a8fb63f42bcfdb22785c.tar.bz2 emacs-5ad4bef5758fd694d209a8fb63f42bcfdb22785c.zip |
Provide a simple generic indentation engine and use it for Prolog.
* emacs-lisp/smie.el: New file.
* progmodes/prolog.el (prolog-smie-op-levels)
(prolog-smie-indent-rules): New var.
(prolog-mode-variables): Use them to configure SMIE.
(prolog-indent-line, prolog-indent-level): Remove.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r-- | lisp/simple.el | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index f0c38093d86..48e1148ae6b 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2077,7 +2077,11 @@ to `shell-command-history'." Like `shell-command' but if COMMAND doesn't end in ampersand, adds `&' surrounded by whitespace and executes the command asynchronously. -The output appears in the buffer `*Async Shell Command*'." +The output appears in the buffer `*Async Shell Command*'. + +In Elisp, you will often be better served by calling `start-process' +directly, since it offers more control and does not impose the use of a +shell (with its need to quote arguments)." (interactive (list (read-shell-command "Async shell command: " nil nil @@ -2138,7 +2142,11 @@ If the optional third argument ERROR-BUFFER is non-nil, it is a buffer or buffer name to which to direct the command's standard error output. If it is nil, error output is mingled with regular output. In an interactive call, the variable `shell-command-default-error-buffer' -specifies the value of ERROR-BUFFER." +specifies the value of ERROR-BUFFER. + +In Elisp, you will often be better served by calling `call-process' or +`start-process' directly, since it offers more control and does not impose +the use of a shell (with its need to quote arguments)." (interactive (list |