summaryrefslogtreecommitdiff
path: root/lisp/ldg-state.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ldg-state.el')
-rw-r--r--lisp/ldg-state.el13
1 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ldg-state.el b/lisp/ldg-state.el
index 1ede3312..fad7d71c 100644
--- a/lisp/ldg-state.el
+++ b/lisp/ldg-state.el
@@ -219,11 +219,16 @@ dropped."
(progn
(delete-char 1)
(if (and style (eq style 'cleared))
- (insert " *")))
+ (progn
+ (insert " *")
+ (setq status 'cleared))))
(if (and style (eq style 'pending))
- (insert " ! ")
- (insert " * "))
- (setq status t))))
+ (progn
+ (insert " ! ")
+ (setq status 'pending))
+ (progn
+ (insert " * ")
+ (setq status 'cleared))))))
status))
(provide 'ldg-state)