1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(eshell-get-target): If `eshell-buffer-shorthand' is in use, and the

target is `t' or `nil' (which are the most common values), don't
assume that the symbol target is a buffer.
This commit is contained in:
John Wiegley 2005-05-27 02:15:36 +00:00
parent 34204d803d
commit 9c04140933
2 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,15 @@
2005-05-26 John Wiegley <johnw@newartisans.com>
* eshell/em-cmpl.el (eshell-complete-parse-arguments): If the
character before a space at the end of a line is \, assume the
space is part of the last argument rather than a final argument
separator.
* eshell/esh-io.el (eshell-get-target): If
`eshell-buffer-shorthand' is in use, and the target is `t' or
`nil' (which are the most common values), don't assume that the
symbol target is a buffer.
2005-05-26 Luc Teirlinck <teirllm@auburn.edu>
* calendar/calendar.el (calendar-mode-line-format):

View file

@ -353,7 +353,8 @@ it defaults to `insert'."
((or (bufferp target)
(and (boundp 'eshell-buffer-shorthand)
(symbol-value 'eshell-buffer-shorthand)
(symbolp target)))
(symbolp target)
(not (memq target '(t nil)))))
(let ((buf (if (bufferp target)
target
(get-buffer-create