summaryrefslogtreecommitdiff
path: root/lisp/term.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-01-20 08:23:30 -0800
committerGlenn Morris <rgm@gnu.org>2018-01-20 08:23:30 -0800
commit60d5a13d28705e116e0a69c48f15d20aab9d3081 (patch)
tree3536dd2a4f35997d27c0bb3806e9a0cf7800a5de /lisp/term.el
parent194c530034e9413071bcdc92d573b2916363ebf1 (diff)
parentcfc94fd245076ee0fba49083a55b08bbadfec4eb (diff)
downloademacs-60d5a13d28705e116e0a69c48f15d20aab9d3081.tar.gz
Merge from origin/emacs-26
cfc94fd (origin/emacs-26) Don't mention 'vc-stay-local' in the user m... 8ce430b Fix a typo in calendar.texi bb748b3 Minor improvement in wording of the Emacs manual b603aff Revert "Fix tempfile creation when byte compiling" 4fd446e Fix tempfile creation when byte compiling 7f48a11 Improve the Emacs manual as suggested in emacs-manual-bugs 728ded0 * lisp/emacs-lisp/bytecomp.el: Tweak last change c6c05e2 Unbreak building Emacs on FreeBSD a41ad3d Don't unnecessarily use non-ASCII characters in C sources c28d4b6 Portability fixes in emacs-module-tests 1d50c18 Add tests for term.el
Diffstat (limited to 'lisp/term.el')
-rw-r--r--lisp/term.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/term.el b/lisp/term.el
index 1a373935c9d..c64c64e6ecd 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -1117,7 +1117,8 @@ Entry to this mode runs the hooks on `term-mode-hook'."
(lambda (size)
(when size
(term-reset-size (cdr size) (car size)))
- size))
+ size)
+ '((name . term-maybe-reset-size)))
(add-hook 'read-only-mode-hook #'term-line-mode-buffer-read-only-update nil t)