diff options
| author | Mattias EngdegÄrd | 2020-03-04 14:46:46 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2020-03-04 14:46:46 +0100 |
| commit | db37dd2e84573ceb2fc037dab040b79880ca298c (patch) | |
| tree | ba29fb8eb8cce068aaedb67bd9cccd4ee9aabce0 | |
| parent | 40b217c2bfde6da6529499c9526a460fcdbeec8f (diff) | |
| download | emacs-db37dd2e84573ceb2fc037dab040b79880ca298c.tar.gz emacs-db37dd2e84573ceb2fc037dab040b79880ca298c.zip | |
Don't misinterpret doc string as initial value
* lisp/loadhist.el (loadhist--restore-autoload):
* lisp/progmodes/vhdl-mode.el (vhdl-font-lock-keywords-0):
Prevent the doc string from being used as initial value.
| -rw-r--r-- | lisp/loadhist.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/vhdl-mode.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/loadhist.el b/lisp/loadhist.el index dabc8b9457a..a1ff2f6270d 100644 --- a/lisp/loadhist.el +++ b/lisp/loadhist.el | |||
| @@ -173,7 +173,7 @@ documentation of `unload-feature' for details.") | |||
| 173 | ;; we undefine it. | 173 | ;; we undefine it. |
| 174 | ;; So we use this auxiliary variable to keep track of the last (t . SYMBOL) | 174 | ;; So we use this auxiliary variable to keep track of the last (t . SYMBOL) |
| 175 | ;; that occurred. | 175 | ;; that occurred. |
| 176 | (defvar loadhist--restore-autoload | 176 | (defvar loadhist--restore-autoload nil |
| 177 | "If non-nil, this is a symbol for which we should | 177 | "If non-nil, this is a symbol for which we should |
| 178 | restore a previous autoload if possible.") | 178 | restore a previous autoload if possible.") |
| 179 | 179 | ||
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index b225a9b1d9a..de56f581ddb 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el | |||
| @@ -13334,7 +13334,7 @@ File statistics: \"%s\"\n\ | |||
| 13334 | (defvar vhdl-font-lock-keywords nil | 13334 | (defvar vhdl-font-lock-keywords nil |
| 13335 | "Regular expressions to highlight in VHDL Mode.") | 13335 | "Regular expressions to highlight in VHDL Mode.") |
| 13336 | 13336 | ||
| 13337 | (defvar vhdl-font-lock-keywords-0 | 13337 | (defvar vhdl-font-lock-keywords-0 nil |
| 13338 | ;; set in `vhdl-font-lock-init' because dependent on user options | 13338 | ;; set in `vhdl-font-lock-init' because dependent on user options |
| 13339 | "For consideration as a value of `vhdl-font-lock-keywords'. | 13339 | "For consideration as a value of `vhdl-font-lock-keywords'. |
| 13340 | This does highlighting of template prompts and directives (pragmas).") | 13340 | This does highlighting of template prompts and directives (pragmas).") |