diff options
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 |