From: Mark Wooding Date: Wed, 3 Apr 2013 08:55:25 +0000 (+0100) Subject: el/dot-emacs.el: Make operator symbols look like punctuation. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/4d90cf3d2baab392a5fbde8a4f562ef4cbcf5cc6 el/dot-emacs.el: Make operator symbols look like punctuation. --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index dc96aaf..a2117c3 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -2271,6 +2271,12 @@ strip numbers instead." (modify-syntax-entry ?} ". 4b") (modify-syntax-entry ?\n ">") + ;; Make punctuation be punctuation + (let ((punct "=<>+-*/|&%!@?$.^:#`")) + (do ((i 0 (1+ i))) + ((>= i (length punct))) + (modify-syntax-entry (aref punct i) "."))) + ;; Set fill prefix. (mdw-standard-fill-prefix "\\([ \t]*{?--?[ \t]*\\)")