X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/5a0925a4e3025c53c7af18c6ba31ebe9193bf413..daeece4beeba2316d11910130f4476cb9ac8efb2:/el/dot-emacs.el?ds=sidebyside diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 78a456b..fbc3899 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -963,6 +963,12 @@ tramp, which seems to get itself into a twist." (defadvice write-file (after mdw-autorevert activate) (mdw-check-autorevert)) +(defun mdw-auto-revert () + "Recheck all of the autorevertable buffers, and update VC modelines." + (interactive) + (let ((auto-revert-check-vc-info t)) + (auto-revert-buffers))) + ;;;-------------------------------------------------------------------------- ;;; Dired hacking. @@ -2640,15 +2646,15 @@ name, as a symbol." "const" "continue" "create" "do" "else" "enum" "extern" - "false" "final" "fn" "for" + "final" "fn" "for" "if" "impl" "in" "let" "loop" "macro" "match" "mod" "move" "mut" "offsetof" "override" - "priv" "pub" "pure" + "priv" "proc" "pub" "pure" "ref" "return" - "self" "sizeof" "static" "struct" "super" - "true" "trait" "type" "typeof" + "sizeof" "static" "struct" "super" + "trait" "type" "typeof" "unsafe" "unsized" "use" "virtual" "where" "while" @@ -2659,7 +2665,8 @@ name, as a symbol." "f32" "f64" "i8" "i16" "i32" "i64" "isize" "u8" "u16" "u32" "u64" "usize" - "char" "str"))) + "char" "str" + "self" "Self"))) (setq font-lock-keywords (list @@ -3460,6 +3467,8 @@ strip numbers instead." (list "[$^_{}#&]" '(0 mdw-punct-face))))) +(setq TeX-install-font-lock 'tex-font-setup) + (eval-after-load 'font-latex '(defun font-latex-jit-lock-force-redisplay (buf start end) "Compatibility for Emacsen not offering `jit-lock-force-redisplay'."