diff options
| author | Noam Postavsky | 2019-06-25 22:04:13 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2019-06-25 22:04:13 -0400 |
| commit | 9552ee4df7d2ceebb8728a61d00598aa981b580c (patch) | |
| tree | 5bd393a52f3f1b0510ff77fb2bd38e4a2c00ad8c /lisp | |
| parent | c7a59d87b5726725cffa51a1f432f0961548dbe3 (diff) | |
| parent | e62ad04963982ea9cc7622b32484778845bc2ec1 (diff) | |
| download | emacs-9552ee4df7d2ceebb8728a61d00598aa981b580c.tar.gz emacs-9552ee4df7d2ceebb8728a61d00598aa981b580c.zip | |
Merge from emacs-26
e62ad04963 Fix sgml-mode handling of quotes within parens (Bug#36347)
06b35b2f92 ; * lisp/frame.el: Enhance add-variable-watcher commentary.
572e34bb6f Rename 'make-symbolic-link' argument NEWNAME to LINKNAME
04477adedc Check that length of data returned by sysctl is non-zero
81535eeadb * test/lisp/progmodes/python-tests.el (python-virt-bin): D...
9d48979ca8 Fix Python tests depending on system-type
fcf6cc3177 Fix problem with wdired test when symlinks cannot be created.
4701e0663e Improve wording of documentation of click events
# Conflicts:
# lisp/textmodes/sgml-mode.el
# test/lisp/textmodes/sgml-mode-tests.el
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/frame.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/sgml-mode.el | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index 7b61003c9ac..9402c15a56b 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -2672,7 +2672,9 @@ See also `toggle-frame-maximized'." | |||
| 2672 | (mapc (lambda (var) | 2672 | (mapc (lambda (var) |
| 2673 | ;; Using symbol-function here tells the watcher machinery to | 2673 | ;; Using symbol-function here tells the watcher machinery to |
| 2674 | ;; call the C function set-buffer-redisplay directly, thus | 2674 | ;; call the C function set-buffer-redisplay directly, thus |
| 2675 | ;; avoiding a potential GC. | 2675 | ;; avoiding a potential GC. This isn't strictly necessary, |
| 2676 | ;; but it's a nice way to exercise the direct subr-calling | ||
| 2677 | ;; machinery. | ||
| 2676 | (add-variable-watcher var (symbol-function 'set-buffer-redisplay))) | 2678 | (add-variable-watcher var (symbol-function 'set-buffer-redisplay))) |
| 2677 | '(line-spacing | 2679 | '(line-spacing |
| 2678 | overline-margin | 2680 | overline-margin |
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 8d3000e5d8b..aa00024a6d9 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el | |||
| @@ -614,6 +614,7 @@ Do \\[describe-key] on the following bindings to discover what they do. | |||
| 614 | (font-lock-syntactic-face-function | 614 | (font-lock-syntactic-face-function |
| 615 | . sgml-font-lock-syntactic-face))) | 615 | . sgml-font-lock-syntactic-face))) |
| 616 | (setq-local syntax-propertize-function #'sgml-syntax-propertize) | 616 | (setq-local syntax-propertize-function #'sgml-syntax-propertize) |
| 617 | (setq-local syntax-ppss-table sgml-tag-syntax-table) | ||
| 617 | (setq-local facemenu-add-face-function 'sgml-mode-facemenu-add-face-function) | 618 | (setq-local facemenu-add-face-function 'sgml-mode-facemenu-add-face-function) |
| 618 | (setq-local sgml-xml-mode (sgml-xml-guess)) | 619 | (setq-local sgml-xml-mode (sgml-xml-guess)) |
| 619 | (unless sgml-xml-mode | 620 | (unless sgml-xml-mode |