diff options
author | Pierre Courtieu <Pierre.Courtieu@cnam.fr> | 2015-12-10 14:50:36 +0100 |
---|---|---|
committer | Pierre Courtieu <Pierre.Courtieu@cnam.fr> | 2015-12-10 14:50:36 +0100 |
commit | 38b6dd235c4a1b2673c01abb9d13b08db1f29b9d (patch) | |
tree | 52a2aae8cfa54401ccf011e5ce44f86951b021b5 /coq/coq.el | |
parent | ff9ec2ed51ec4609286d747f7276d368499a39a5 (diff) |
Fixing variable declaration.
Diffstat (limited to 'coq/coq.el')
-rw-r--r-- | coq/coq.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -131,7 +131,6 @@ These are appended at the end of `coq-shell-init-cmd'." :type '(repeat (cons (string :tag "command"))) :group 'coq) - ;; Default coq is only Private_ and _subproof (defcustom coq-search-blacklist-string ; add this? \"_ind\" \"_rect\" \"_rec\" "\"Private_\" \"_subproof\"" @@ -139,9 +138,11 @@ These are appended at the end of `coq-shell-init-cmd'." :type 'string :group 'coq) + ;; this remembers the previous value of coq-search-blacklist-string, so that we ;; can cook a remove+add blacklist command each time the variable is changed. -(setq coq-search-blacklist-string-prev coq-search-blacklist-string) +;; initially we put it at current value of coq-search-blacklist-string. +(defvar coq-search-blacklist-string-prev coq-search-blacklist-string) ;TODO: remove Set Undo xx. It is obsolete since coq-8.5 at least. ;;`(,(format "Set Undo %s . " coq-default-undo-limit) "Set Printing Width 75.") |