diff options
| author | Lars Ingebrigtsen | 2019-07-15 00:01:09 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-07-15 00:02:08 +0200 |
| commit | 71e16923c0d2b3dc4862112be0f9bcfcdbe162b9 (patch) | |
| tree | c822f5100329d3c410217916a93e694b1ce10ac1 | |
| parent | 5f69da273b5de96929ff3a6f455f532289f92fe3 (diff) | |
| download | emacs-71e16923c0d2b3dc4862112be0f9bcfcdbe162b9.tar.gz emacs-71e16923c0d2b3dc4862112be0f9bcfcdbe162b9.zip | |
Mark octave-block-offset as a safe local variable
* lisp/progmodes/octave.el (octave-block-offset): Mark as safe as
a local variable (bug#28916).
| -rw-r--r-- | lisp/progmodes/octave.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el index 8a7e24e5ada..3f7d1856658 100644 --- a/lisp/progmodes/octave.el +++ b/lisp/progmodes/octave.el | |||
| @@ -198,6 +198,7 @@ newline or semicolon after an else or end keyword." | |||
| 198 | (defcustom octave-block-offset 2 | 198 | (defcustom octave-block-offset 2 |
| 199 | "Extra indentation applied to statements in Octave block structures." | 199 | "Extra indentation applied to statements in Octave block structures." |
| 200 | :type 'integer) | 200 | :type 'integer) |
| 201 | (put 'octave-block-offset 'safe-local-variable 'integerp) | ||
| 201 | 202 | ||
| 202 | (defvar octave-block-comment-start | 203 | (defvar octave-block-comment-start |
| 203 | (concat (make-string 2 octave-comment-char) " ") | 204 | (concat (make-string 2 octave-comment-char) " ") |