changeset 62242:cce9501aab6e

(sh-mode-default-syntax-table): Set the syntax of $ to "'" (quote).
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 11 May 2005 22:57:25 +0000
parents 868a2346b784
children 68b153fd6cd9
files lisp/ChangeLog lisp/progmodes/sh-script.el
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <dann@ics.uci.edu>
+
+	* progmodes/sh-script.el (sh-mode-default-syntax-table): Set the
+	syntax of $ to "'" (quote).
+
 2005-05-11  Reiner Steib  <Reiner.Steib@gmx.de>
 
 	* dnd.el (dnd-protocol-alist): Improve custom type.
--- 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.
+	?$ "'"
 	?! "_"
 	?% "_"
 	?: "_"