# HG changeset patch # User Dan Nicolaescu # Date 1115852245 0 # Node ID cce9501aab6e1784d05cf3b59ee4fa63e48d33d1 # Parent 868a2346b78479dd798fddd9aef633708a62ea6a (sh-mode-default-syntax-table): Set the syntax of $ to "'" (quote). diff -r 868a2346b784 -r cce9501aab6e lisp/ChangeLog --- a/lisp/ChangeLog Wed May 11 21:00:41 2005 +0000 +++ b/lisp/ChangeLog Wed May 11 22:57:25 2005 +0000 @@ -1,3 +1,8 @@ +2005-05-11 Dan Nicolaescu + + * progmodes/sh-script.el (sh-mode-default-syntax-table): Set the + syntax of $ to "'" (quote). + 2005-05-11 Reiner Steib * dnd.el (dnd-protocol-alist): Improve custom type. diff -r 868a2346b784 -r cce9501aab6e lisp/progmodes/sh-script.el --- a/lisp/progmodes/sh-script.el Wed May 11 21:00:41 2005 +0000 +++ b/lisp/progmodes/sh-script.el Wed May 11 22:57:25 2005 +0000 @@ -414,6 +414,10 @@ ?\" "\"\"" ?\' "\"'" ?\` "\"`" + ;; ?$ might also have a ". p" syntax. Both "'" and ". p" seem + ;; to work fine. This is needed so that dabbrev-expand + ;; $VARNAME works. + ?$ "'" ?! "_" ?% "_" ?: "_"