aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/pg-user.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2010-09-08 09:04:26 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2010-09-08 09:04:26 +0000
commitd414118b10e99a4db0464d7cee1c555b5256e2ca (patch)
treeaf04f2014d807543a8d4ba792ff7c4ebaed26a4d /generic/pg-user.el
parentf9f318998250997ecc4a717c2284c7e789e353a0 (diff)
Comments
Diffstat (limited to 'generic/pg-user.el')
-rw-r--r--generic/pg-user.el18
1 files changed, 6 insertions, 12 deletions
diff --git a/generic/pg-user.el b/generic/pg-user.el
index 8f25b71c..215009c4 100644
--- a/generic/pg-user.el
+++ b/generic/pg-user.el
@@ -518,10 +518,10 @@ This is intended as a value for `proof-activate-scripting-hook'"
(if (eq major-mode proof-mode-for-script)
proof-terminal-string)))))))
-;; This is a function called by custom-set property = proof-set-value.
;;;###autoload
(defun proof-electric-terminator-enable ()
- "Make sure the modeline is updated to display new value for electric terminator."
+ "Ensure modeline update to display new value for electric terminator.
+This a function is called by the custom-set property 'proof-set-value."
(force-mode-line-update))
(proof-deftoggle proof-electric-terminator-enable
@@ -548,8 +548,7 @@ is non-nil, the command will be sent to the assistant."
;; Completion based on <PA>-completion-table
;;
;; Requires completion.el package. Completion is usually a hand-wavy
-;; thing, so we don't make any attempt to maintain a precise
-;; completion table or anything.
+;; thing, so we don't attempt to maintain a precise completion table.
;;
(defun proof-add-completions ()
@@ -559,9 +558,7 @@ last use time, to discourage saving these into the users database."
(interactive)
(require 'completion)
(mapcar (lambda (cmpl)
- ;; completion gives error in this case; trapping
- ;; the error here is tricky in FSF Emacs so duplicate
- ;; the test.
+ ;; completion gives error; trapping is tricky so test again
(if (>= (length cmpl) completion-min-length)
(add-completion cmpl -1000 0)))
(proof-ass completion-table)))
@@ -605,9 +602,6 @@ last use time, to discourage saving these into the users database."
(if (fboundp 'own-clipboard) ;; XEmacs function
(own-clipboard (car kill-ring))))
-;; 3.3: these functions are experimental, in that they haven't
-;; been rigorously tested. FIXME: they don't work well in GNU Emacs.
-
(defun pg-numth-span-higher-or-lower (span num &optional noerr)
"Find NUM'th span after/before SPAN. NUM is positive for after."
(unless (and span (<= (span-end span) (proof-unprocessed-begin)))
@@ -1089,8 +1083,8 @@ If CALLBACK is set, we invoke that when the command completes."
"Cycle backwards through input history, saving input."
(interactive "*p")
(if (and pg-input-ring-index
- (or ;; leaving the "end" of the ring
- (and (< arg 0) ; going down
+ (or ; leaving the "end" of the ring
+ (and (< arg 0) ; going down
(eq pg-input-ring-index 0))
(and (> arg 0) ; going up
(eq pg-input-ring-index