summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/progmodes/sh-script.el1
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 234925efe20..41d778b5d26 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -6,6 +6,8 @@
2006-04-20 Dan Nicolaescu <dann@ics.uci.edu>
+ * progmodes/sh-script.el (sh-shell): Mark as safe.
+
* newcomment.el (comment-start, comment-start-skip)
(comment-end-skip, comment-end): Mark as safe.
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 06ae4de7669..bb8659ed662 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -356,6 +356,7 @@ the car and cdr are the same symbol.")
(defvar sh-shell (sh-canonicalize-shell (file-name-nondirectory sh-shell-file))
"The shell being programmed. This is set by \\[sh-set-shell].")
+;;;###autoload(put 'sh-shell 'safe-local-variable 'symbolp)
(defvar sh-mode-abbrev-table nil)