diff options
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/antlr-mode.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/gud.el | 11 | ||||
| -rw-r--r-- | lisp/progmodes/sh-script.el | 3 |
3 files changed, 10 insertions, 6 deletions
diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el index f3a540fc491..b7bf99efa2e 100644 --- a/lisp/progmodes/antlr-mode.el +++ b/lisp/progmodes/antlr-mode.el | |||
| @@ -161,7 +161,7 @@ | |||
| 161 | ;; More compile-time-macros | 161 | ;; More compile-time-macros |
| 162 | (eval-when-compile | 162 | (eval-when-compile |
| 163 | (defmacro save-buffer-state-x (&rest body) ; similar to EMACS/lazy-lock.el | 163 | (defmacro save-buffer-state-x (&rest body) ; similar to EMACS/lazy-lock.el |
| 164 | (let ((modified (gensym "save-buffer-state-x-modified-"))) | 164 | (let ((modified (with-no-warnings (gensym "save-buffer-state-x-modified-")))) |
| 165 | `(let ((,modified (buffer-modified-p))) | 165 | `(let ((,modified (buffer-modified-p))) |
| 166 | (unwind-protect | 166 | (unwind-protect |
| 167 | (let ((buffer-undo-list t) (inhibit-read-only t) | 167 | (let ((buffer-undo-list t) (inhibit-read-only t) |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 48a007aef27..76e00cc4438 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -162,11 +162,14 @@ Used to grey out relevant toolbar icons.") | |||
| 162 | (gud-run . "gud-run") | 162 | (gud-run . "gud-run") |
| 163 | (gud-until . "gud-until") | 163 | (gud-until . "gud-until") |
| 164 | (gud-cont . "gud-cont") | 164 | (gud-cont . "gud-cont") |
| 165 | (gud-step . "gud-step") | 165 | ;; gud-s, gud-si etc. instead of gud-step, |
| 166 | (gud-next . "gud-next") | 166 | ;; gud-stepi, to avoid file-name clashes on DOS |
| 167 | ;; 8+3 filesystems. | ||
| 168 | (gud-step . "gud-s") | ||
| 169 | (gud-next . "gud-n") | ||
| 167 | (gud-finish . "gud-finish") | 170 | (gud-finish . "gud-finish") |
| 168 | (gud-stepi . "gud-stepi") | 171 | (gud-stepi . "gud-si") |
| 169 | (gud-nexti . "gud-nexti") | 172 | (gud-nexti . "gud-ni") |
| 170 | (gud-up . "gud-up") | 173 | (gud-up . "gud-up") |
| 171 | (gud-down . "gud-down")) | 174 | (gud-down . "gud-down")) |
| 172 | map) | 175 | map) |
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index e63dda1c663..a23dc0a307e 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -2052,7 +2052,8 @@ STRING This is ignored for the purposes of calculating | |||
| 2052 | (progn | 2052 | (progn |
| 2053 | (setq result (append result val)) | 2053 | (setq result (append result val)) |
| 2054 | (setq align-point (point)))) | 2054 | (setq align-point (point)))) |
| 2055 | (forward-char -1) | 2055 | (or (bobp) |
| 2056 | (forward-char -1)) | ||
| 2056 | (skip-chars-forward "[a-z0-9]*?") | 2057 | (skip-chars-forward "[a-z0-9]*?") |
| 2057 | ) | 2058 | ) |
| 2058 | ((string-match "[])}]" x) | 2059 | ((string-match "[])}]" x) |