force the paned widget to resize to the right value.
(xmenu_show): No need to check a second time whether the mouse has
moved to another menu bar item. This slows down execution.
(byte-compile-from-buffer): Change second argument to filename.
Always return outbuffer; never eval from it or kill it.
(byte-compile-file): Pass filename to byte-compile-from-buffer.
comint-output-filter-functions.
(shell-mode): Put dir tracker on comint-input-filter-functions,
not ...output...
(shell-directory-tracker, shell-process-popd):
Call just error, not message and error.
(shell-mode): Use it to set comint-dynamic-complete-functions.
(shell-mode-map): Define menu-bars for command,
variable and directory completion/expansion.
(shell-get-current-command, shell-after-partial-filename): Functions deleted.
(shell-dynamic-complete-environment-variable,
shell-replace-by-expanded-directory): New commands.
(shell-match-partial-variable,
shell-dynamic-complete-as-environment-variable): New functions.
comint-dynamic-complete-filename-command,
comint-dynamic-complete-command-command,
comint-get-current-command): Deleted.
(comint-input-sentinel-functions): Replaces comint-input-sentinel.
(comint-input-sentinel): Deleted.
(comint-send-input): Run hooks on comint-input-sentinel-functions.
(comint-output-sentinel-functions): Rename from comint-output-filter-functions.
(comint-dynamic-complete-functions): New variable.
(comint-mode-map): Removed menu-bar for command and variable completion.
(comint-exec-1): Add to environment by hand; avoids using setenv.
(comint-replace-by-expanded-history-before-point):
Renamed from comint-replace-by-expanded-history.
(comint-replace-by-expanded-history): New wrapper definition.
(comint-word): New function.
(comint-match-partial-filename): Use it.
(comint-after-partial-filename, comint-match-partial-variable,
comint-dynamic-complete-variable): Deleted.
(comint-dynamic-complete): Run hooks on comint-dynamic-complete-functions.
(comint-dynamic-complete-as-filename): Renamed from
function comint-dynamic-complete-filename.
(comint-dynamic-complete-filename): New wrapper definition.
(comint-dynamic-simple-complete): Return a symbol representing completion.
Add functions to these lists.
(server-program): Add exec-directory to value. Use expand-file-name.
(server-buffer-done): If buffer is dead, don't bury it.
(server-done): If we kill the old buffer,
and server-buffer-done gives us nil, return the new current buffer.