[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 db37dd2: Don't misinterpret doc string as initial value
From: |
Mattias Engdegård |
Subject: |
emacs-27 db37dd2: Don't misinterpret doc string as initial value |
Date: |
Wed, 4 Mar 2020 08:52:37 -0500 (EST) |
branch: emacs-27
commit db37dd2e84573ceb2fc037dab040b79880ca298c
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>
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.
---
lisp/loadhist.el | 2 +-
lisp/progmodes/vhdl-mode.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/loadhist.el b/lisp/loadhist.el
index dabc8b9..a1ff2f6 100644
--- a/lisp/loadhist.el
+++ b/lisp/loadhist.el
@@ -173,7 +173,7 @@ documentation of `unload-feature' for details.")
;; we undefine it.
;; So we use this auxiliary variable to keep track of the last (t . SYMBOL)
;; that occurred.
-(defvar loadhist--restore-autoload
+(defvar loadhist--restore-autoload nil
"If non-nil, this is a symbol for which we should
restore a previous autoload if possible.")
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index b225a9b..de56f58 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -13334,7 +13334,7 @@ File statistics: \"%s\"\n\
(defvar vhdl-font-lock-keywords nil
"Regular expressions to highlight in VHDL Mode.")
-(defvar vhdl-font-lock-keywords-0
+(defvar vhdl-font-lock-keywords-0 nil
;; set in `vhdl-font-lock-init' because dependent on user options
"For consideration as a value of `vhdl-font-lock-keywords'.
This does highlighting of template prompts and directives (pragmas).")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 db37dd2: Don't misinterpret doc string as initial value,
Mattias Engdegård <=