From: Dan Nicolaescu Date: Wed, 11 May 2005 22:57:25 +0000 (+0000) Subject: (sh-mode-default-syntax-table): Set the X-Git-Tag: ttn-vms-21-2-B4~387 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8cec35c42eefe184f694c62f5d58b7fd6009141c;p=emacs.git (sh-mode-default-syntax-table): Set the syntax of $ to "'" (quote). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5a12dd84340..9ae919c98c4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 70172e22732..ae024e8111e 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -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. + ?$ "'" ?! "_" ?% "_" ?: "_"