aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorRichard M. Stallman1995-01-19 04:27:15 +0000
committerRichard M. Stallman1995-01-19 04:27:15 +0000
commitf43726fd674dcaa099bc7155e518338958f6bace (patch)
treeb76a65452f87b1bf2a97fbbdc331ddc45c3b2345 /lisp/textmodes
parentc18465c4b994c466f1a001a7c65eafc2cf477b20 (diff)
downloademacs-f43726fd674dcaa099bc7155e518338958f6bace.tar.gz
emacs-f43726fd674dcaa099bc7155e518338958f6bace.zip
(current-justification): Renamed from current-justification. Callers changed.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/fill.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index 336236d8822..16153803d8d 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -131,7 +131,7 @@ space does not end a sentence, so don't break a line there."
131 ;; Arrange for undoing the fill to restore point. 131 ;; Arrange for undoing the fill to restore point.
132 (if (and buffer-undo-list (not (eq buffer-undo-list t))) 132 (if (and buffer-undo-list (not (eq buffer-undo-list t)))
133 (setq buffer-undo-list (cons (point) buffer-undo-list))) 133 (setq buffer-undo-list (cons (point) buffer-undo-list)))
134 (or justify (setq justify (justification))) 134 (or justify (setq justify (current-justification)))
135 135
136 ;; Don't let Adaptive Fill mode alter the fill prefix permanently. 136 ;; Don't let Adaptive Fill mode alter the fill prefix permanently.
137 (let ((fill-prefix fill-prefix)) 137 (let ((fill-prefix fill-prefix))
@@ -372,7 +372,7 @@ The `justification' text-property can locally override this variable.
372This variable automatically becomes buffer-local when set in any fashion.") 372This variable automatically becomes buffer-local when set in any fashion.")
373(make-variable-buffer-local 'default-justification) 373(make-variable-buffer-local 'default-justification)
374 374
375(defun justification () 375(defun current-justification ()
376 "How should we justify this line? 376 "How should we justify this line?
377This returns the value of the text-property `justification', 377This returns the value of the text-property `justification',
378or the variable `default-justification' if there is no text-property. 378or the variable `default-justification' if there is no text-property.
@@ -464,7 +464,7 @@ it will not be stretched by full justification.
464Third arg NOSQUEEZE non-nil means to leave interior whitespace unchanged, 464Third arg NOSQUEEZE non-nil means to leave interior whitespace unchanged,
465otherwise it is made canonical." 465otherwise it is made canonical."
466 (interactive (list 'full nil nil)) 466 (interactive (list 'full nil nil))
467 (if (eq t how) (setq how (or (justification) 'none))) 467 (if (eq t how) (setq how (or (current-justification) 'none)))
468 (save-excursion 468 (save-excursion
469 (save-restriction 469 (save-restriction
470 (let ((fc (current-fill-column)) 470 (let ((fc (current-fill-column))