]> git.eshelyaron.com Git - emacs.git/commitdiff
(sh-mode-default-syntax-table): Set the
authorDan Nicolaescu <dann@ics.uci.edu>
Wed, 11 May 2005 22:57:25 +0000 (22:57 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Wed, 11 May 2005 22:57:25 +0000 (22:57 +0000)
syntax of $ to "'" (quote).

lisp/ChangeLog
lisp/progmodes/sh-script.el

index 5a12dd84340377f0ccfd8ae9bd9249c5f95a4a66..9ae919c98c4e651955567c6b438a77936f8a4086 100644 (file)
@@ -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.
index 70172e22732beeabb821fe80dd09d586cda07097..ae024e8111e68d852328c2188cf960c21d5f32a4 100644 (file)
@@ -414,6 +414,10 @@ This is buffer-local in every such buffer.")
        ?\" "\"\""
        ?\' "\"'"
        ?\` "\"`"
+       ;; ?$ might also have a ". p" syntax. Both "'" and ". p" seem
+       ;; to work fine. This is needed so that dabbrev-expand
+       ;; $VARNAME works.
+       ?$ "'"
        ?! "_"
        ?% "_"
        ?: "_"