]> git.eshelyaron.com Git - emacs.git/commit
* lisp/term.el: Fix minor compilation issues with cl-lib and lexbind
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 24 Feb 2019 21:19:59 +0000 (16:19 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 24 Feb 2019 21:19:59 +0000 (16:19 -0500)
commit5653b76d0bacf1edfc3d962c0bb991344cd80f6f
treecc258a7834c7f8a7669925bfaa0516ed717f2fb4
parent467e6ccb85e89cbfaccb25bb392d24a0511044fc
* lisp/term.el: Fix minor compilation issues with cl-lib and lexbind

Remove left-over comment from the bulk comint->term query/replace.
(term-command-function): Rename from term-command-hook.
Give it a global default value.
(term-suppress-hard-newline): Mark it as generally obsolete.
(term-mode): Don't manually make hooks buffer-local.
(term--remove-fake-newlines): Fix assert -> cl-assert.
(term-char-mode): Use add-function.
(term-send-input): Use run-hook-with-args.
(term-dynamic-complete): Use run-hook-with-args-until-success.
(term-dynamic-simple-complete): Completion tables can be plain lists.
(serial-read-name): Simplify and fix misuse of `set`.
lisp/term.el