Mercurial > emacs
view move-if-change @ 94063:ab8c45d22418
(proced-command-alist): Remove sort column.
(proced-command, proced-procname-column): Use
make-variable-buffer-local.
(proced-signal-function): Renamed from proced-kill-program. Allow
for elisp symbols and string values representing system calls.
(proced-marker-regexp, proced-success-message): New functions.
(proced): Use defalias. Add autoload cookie.
(proced-unmark-backward, proced-toggle-marks)
(proced-hide-processes): New commands.
(proced-do-mark): Simplify code.
(proced-insert-mark): Use optional arg BACKWARD instead of line number.
(proced-update): Remove sorting.
(proced-send-signal): Display number of processes to operate on.
Allow for system calls or elisp functions to send signals. Check
if signal was send successfully.
author | Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> |
---|---|
date | Mon, 14 Apr 2008 01:34:04 +0000 |
parents | 354e0c45cedf |
children | 14a97ab281d5 |
line wrap: on
line source
#!/bin/sh if test -r $2 then if cmp $1 $2 > /dev/null then echo $2 is unchanged rm -f $1 else mv -f $1 $2 fi else mv -f $1 $2 fi