# HG changeset patch # User Karl Heuer # Date 763435396 0 # Node ID c40e283c262bc1be43910fae941eed2483a5b452 # Parent 9217f29851c28e573d7cb148bff30cdd0293a1fe Put hyphen in a safer place in the character class. diff -r 9217f29851c2 -r c40e283c262b lisp/progmodes/scheme.el --- a/lisp/progmodes/scheme.el Sat Mar 12 00:23:12 1994 +0000 +++ b/lisp/progmodes/scheme.el Sat Mar 12 01:23:16 1994 +0000 @@ -381,7 +381,7 @@ (defun scheme-let-indent (state indent-point) (skip-chars-forward " \t") - (if (looking-at "[a-zA-Z0-9+-*/?!@$%^&_:~]") + (if (looking-at "[-a-zA-Z0-9+*/?!@$%^&_:~]") (scheme-indent-specform 2 state indent-point) (scheme-indent-specform 1 state indent-point))) diff -r 9217f29851c2 -r c40e283c262b lisp/terminal.el --- a/lisp/terminal.el Sat Mar 12 00:23:12 1994 +0000 +++ b/lisp/terminal.el Sat Mar 12 01:23:16 1994 +0000 @@ -1145,11 +1145,11 @@ (defun te-parse-program-and-args (s) - (cond ((string-match "\\`\\([a-zA-Z0-9-+=_.@/:]+[ \t]*\\)+\\'" s) + (cond ((string-match "\\`\\([-a-zA-Z0-9+=_.@/:]+[ \t]*\\)+\\'" s) (let ((l ()) (p 0)) (while p (setq l (cons (if (string-match - "\\([a-zA-Z0-9-+=_.@/:]+\\)\\([ \t]+\\)*" + "\\([-a-zA-Z0-9+=_.@/:]+\\)\\([ \t]+\\)*" s p) (prog1 (substring s p (match-end 1)) (setq p (match-end 0)) @@ -1211,7 +1211,7 @@ ;;;; what a complete loss (defun te-quote-arg-for-sh (string) - (cond ((string-match "\\`[a-zA-Z0-9-+=_.@/:]+\\'" + (cond ((string-match "\\`[-a-zA-Z0-9+=_.@/:]+\\'" string) string) ((not (string-match "[$]" string))