diff options
| -rw-r--r-- | lisp/progmodes/sh-script.el | 3 | ||||
| -rw-r--r-- | lisp/progmodes/verilog-mode.el | 2 | ||||
| -rw-r--r-- | lisp/vc/log-edit.el | 2 | ||||
| -rw-r--r-- | lisp/xml.el | 4 |
4 files changed, 5 insertions, 6 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index dd3a6fa411e..853a3500ee1 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -2905,8 +2905,7 @@ STRING This is ignored for the purposes of calculating | |||
| 2905 | (setq align-point (point)))) | 2905 | (setq align-point (point)))) |
| 2906 | (or (bobp) | 2906 | (or (bobp) |
| 2907 | (forward-char -1)) | 2907 | (forward-char -1)) |
| 2908 | ;; FIXME: This charset looks too much like a regexp. --Stef | 2908 | (skip-chars-forward "*0-9?[]a-z") |
| 2909 | (skip-chars-forward "[a-z0-9]*?") | ||
| 2910 | ) | 2909 | ) |
| 2911 | ((string-match "[])}]" x) | 2910 | ((string-match "[])}]" x) |
| 2912 | (setq x (sh-safe-forward-sexp -1)) | 2911 | (setq x (sh-safe-forward-sexp -1)) |
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index 7b9c3921fba..916594bdde0 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el | |||
| @@ -14263,7 +14263,7 @@ and the case items." | |||
| 14263 | (defun verilog-sk-define-signal () | 14263 | (defun verilog-sk-define-signal () |
| 14264 | "Insert a definition of signal under point at top of module." | 14264 | "Insert a definition of signal under point at top of module." |
| 14265 | (interactive "*") | 14265 | (interactive "*") |
| 14266 | (let* ((sig-re "[a-zA-Z0-9_]*") | 14266 | (let* ((sig-re "a-zA-Z0-9_") |
| 14267 | (v1 (buffer-substring | 14267 | (v1 (buffer-substring |
| 14268 | (save-excursion | 14268 | (save-excursion |
| 14269 | (skip-chars-backward sig-re) | 14269 | (skip-chars-backward sig-re) |
diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el index 8bd1bbddb78..42710dd8dc9 100644 --- a/lisp/vc/log-edit.el +++ b/lisp/vc/log-edit.el | |||
| @@ -350,7 +350,7 @@ The first subexpression is the actual text of the field.") | |||
| 350 | (defun log-edit-goto-eoh () ;FIXME: Almost rfc822-goto-eoh! | 350 | (defun log-edit-goto-eoh () ;FIXME: Almost rfc822-goto-eoh! |
| 351 | (goto-char (point-min)) | 351 | (goto-char (point-min)) |
| 352 | (when (re-search-forward | 352 | (when (re-search-forward |
| 353 | "^\\([^[:alpha:]]\\|[[:alnum:]-]+[^[:alnum:]-:]\\)" nil 'move) | 353 | "^\\([^[:alpha:]]\\|[[:alnum:]-]+[^[:alnum:]-]\\)" nil 'move) |
| 354 | (goto-char (match-beginning 0)))) | 354 | (goto-char (match-beginning 0)))) |
| 355 | 355 | ||
| 356 | (defun log-edit--match-first-line (limit) | 356 | (defun log-edit--match-first-line (limit) |
diff --git a/lisp/xml.el b/lisp/xml.el index 2337952f064..b5b923f863e 100644 --- a/lisp/xml.el +++ b/lisp/xml.el | |||
| @@ -718,10 +718,10 @@ This follows the rule [28] in the XML specifications." | |||
| 718 | (cond ((looking-at "PUBLIC\\s-+") | 718 | (cond ((looking-at "PUBLIC\\s-+") |
| 719 | (goto-char (match-end 0)) | 719 | (goto-char (match-end 0)) |
| 720 | (unless (or (re-search-forward | 720 | (unless (or (re-search-forward |
| 721 | "\\=\"\\([[:space:][:alnum:]-'()+,./:=?;!*#@$_%]*\\)\"" | 721 | "\\=\"\\([[:space:][:alnum:]'()+,./:=?;!*#@$_%-]*\\)\"" |
| 722 | nil t) | 722 | nil t) |
| 723 | (re-search-forward | 723 | (re-search-forward |
| 724 | "\\='\\([[:space:][:alnum:]-()+,./:=?;!*#@$_%]*\\)'" | 724 | "\\='\\([[:space:][:alnum:]()+,./:=?;!*#@$_%-]*\\)'" |
| 725 | nil t)) | 725 | nil t)) |
| 726 | (error "XML: Missing Public ID")) | 726 | (error "XML: Missing Public ID")) |
| 727 | (let ((pubid (match-string-no-properties 1))) | 727 | (let ((pubid (match-string-no-properties 1))) |