aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorStefan Monnier2011-03-21 12:42:16 -0400
committerStefan Monnier2011-03-21 12:42:16 -0400
commitcafdcef32d55cbb44389d7e322e7f973cbb72dfd (patch)
tree7ee0c41ea8a589650ce6f4311fb10e61a63807b9 /lisp/simple.el
parenta08a25d7aaf251aa18f2ef747be53734bc55cae9 (diff)
parent4e05e67e4cd0bc1b0a4ef3176a4d0d91c6b3738e (diff)
downloademacs-cafdcef32d55cbb44389d7e322e7f973cbb72dfd.tar.gz
emacs-cafdcef32d55cbb44389d7e322e7f973cbb72dfd.zip
Merge from trunk
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 7a191f0cc9a..e4c742b56f4 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -636,7 +636,9 @@ If the region is active, only delete whitespace within the region."
636 (if (looking-at ".*\f") 636 (if (looking-at ".*\f")
637 (goto-char (match-end 0)))) 637 (goto-char (match-end 0))))
638 (delete-region (point) (match-end 0))) 638 (delete-region (point) (match-end 0)))
639 (set-marker end-marker nil))))) 639 (set-marker end-marker nil))))
640 ;; Return nil for the benefit of `write-file-functions'.
641 nil)
640 642
641(defun newline-and-indent () 643(defun newline-and-indent ()
642 "Insert a newline, then indent according to major mode. 644 "Insert a newline, then indent according to major mode.
@@ -2627,7 +2629,7 @@ specifies the value of ERROR-BUFFER."
2627 (with-output-to-string 2629 (with-output-to-string
2628 (with-current-buffer 2630 (with-current-buffer
2629 standard-output 2631 standard-output
2630 (call-process shell-file-name nil t nil shell-command-switch command)))) 2632 (process-file shell-file-name nil t nil shell-command-switch command))))
2631 2633
2632(defun process-file (program &optional infile buffer display &rest args) 2634(defun process-file (program &optional infile buffer display &rest args)
2633 "Process files synchronously in a separate process. 2635 "Process files synchronously in a separate process.