summaryrefslogtreecommitdiff
path: root/lisp/progmodes/executable.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/executable.el')
-rw-r--r--lisp/progmodes/executable.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el
index d278b10ba0c..3fff4c04038 100644
--- a/lisp/progmodes/executable.el
+++ b/lisp/progmodes/executable.el
@@ -53,7 +53,7 @@
;;; Code:
(defgroup executable nil
- "Base functionality for executable interpreter scripts"
+ "Base functionality for executable interpreter scripts."
:group 'processes)
;; This used to default to `other', but that doesn't seem to have any
@@ -230,7 +230,7 @@ executable."
(and (goto-char (match-beginning 1))
;; If the line ends in a space,
;; don't offer to change it.
- (not (= (char-after (1- (match-end 1))) ?\ ))
+ (not (= (char-after (1- (match-end 1))) ?\s))
(not (string= argument
(buffer-substring (point) (match-end 1))))
(if (or (not executable-query) no-query-flag