Mercurial > emacs
comparison lisp/eshell/esh-test.el @ 108765:d835100c3e8b
Replace Lisp calls to delete-backward-char by delete-char.
* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
skeleton.el, term.el, time.el, wid-edit.el, woman.el,
calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
progmodes/ps-mode.el, progmodes/verilog-mode.el,
progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
delete-backward-char by calls to delete-char.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 24 May 2010 22:11:08 -0400 |
parents | 1d1d5d9bd884 |
children | f57f72bb4757 |
comparison
equal
deleted
inserted
replaced
108764:9ad1ee311b5e | 108765:d835100c3e8b |
---|---|
99 (format "%-70s " (substring label 0 (min 70 (length label))))) | 99 (format "%-70s " (substring label 0 (min 70 (length label))))) |
100 (insert-before-markers " ....") | 100 (insert-before-markers " ....") |
101 (eshell-redisplay)) | 101 (eshell-redisplay)) |
102 (let ((truth (eval command))) | 102 (let ((truth (eval command))) |
103 (with-current-buffer test-buffer | 103 (with-current-buffer test-buffer |
104 (delete-backward-char 6) | 104 (delete-char -6) |
105 (insert-before-markers | 105 (insert-before-markers |
106 "[" (let (str) | 106 "[" (let (str) |
107 (if truth | 107 (if truth |
108 (progn | 108 (progn |
109 (setq str " OK ") | 109 (setq str " OK ") |