mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-31 20:02:42 +00:00
Minor portability fix in smerge-mode.el.
lisp/smerge-mode.el (smerge-resolve): Use null-device rather than a literal "/dev/null".
This commit is contained in:
parent
3f254caa51
commit
0e39ec2188
@ -1,3 +1,8 @@
|
||||
2011-05-09 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* smerge-mode.el (smerge-resolve): Use null-device rather than a
|
||||
literal "/dev/null".
|
||||
|
||||
2011-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
|
||||
|
@ -535,7 +535,7 @@ some major modes. Uses `smerge-resolve-function' to do the actual work."
|
||||
(with-current-buffer buf
|
||||
(zerop (call-process-region
|
||||
(point-min) (point-max) "patch" t nil nil
|
||||
"-r" "/dev/null" "--no-backup-if-mismatch"
|
||||
"-r" null-device "--no-backup-if-mismatch"
|
||||
"-fl" o))))
|
||||
(save-restriction
|
||||
(narrow-to-region m0b m0e)
|
||||
@ -551,7 +551,7 @@ some major modes. Uses `smerge-resolve-function' to do the actual work."
|
||||
(with-current-buffer buf
|
||||
(zerop (call-process-region
|
||||
(point-min) (point-max) "patch" t nil nil
|
||||
"-r" "/dev/null" "--no-backup-if-mismatch"
|
||||
"-r" null-device "--no-backup-if-mismatch"
|
||||
"-fl" m))))
|
||||
(save-restriction
|
||||
(narrow-to-region m0b m0e)
|
||||
|
Loading…
Reference in New Issue
Block a user