summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2006-04-20 23:35:08 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2006-04-20 23:35:08 +0000
commitb50dc4efbbdc3fc3234578daa039f6d5e99914f8 (patch)
treec2cfb68c257f72c6806725819966f271dbcafed2
parent12678a5b23d25fd4eab1c9c2e76e3870e3033d42 (diff)
downloademacs-b50dc4efbbdc3fc3234578daa039f6d5e99914f8.tar.gz
(sh-shell): Mark as safe.
-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 0492613e3a4..749fde3d75d 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)