From 4d90cf3d2baab392a5fbde8a4f562ef4cbcf5cc6 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 3 Apr 2013 09:55:25 +0100 Subject: [PATCH] el/dot-emacs.el: Make operator symbols look like punctuation. --- el/dot-emacs.el | 6 ++++++ 1 file changed, 6 insertions(+) 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]*\\)") -- 2.11.0