~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81fb08f
)
el/dot-emacs.el: Make operator symbols look like punctuation.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 3 Apr 2013 08:55:25 +0000
(09:55 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 3 Apr 2013 09:06:48 +0000
(10:06 +0100)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index
dc96aaf
..
a2117c3
100644
(file)
--- 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]*\\)")