diff options
author | Chong Yidong <cyd@gnu.org> | 2012-06-02 18:56:09 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-06-02 18:56:09 +0800 |
commit | 3726946669effb8c66c37fb5f9996178c9adfc80 (patch) | |
tree | 2e46f1c06178255d267bcf176b6579b6e06c5499 /lisp/calculator.el | |
parent | e7f322834d5535db4f3cae929aaa52766ca0ce24 (diff) | |
download | emacs-3726946669effb8c66c37fb5f9996178c9adfc80.tar.gz |
Remove incorrect uses of "modeline".
* ansi-color.el (ansi-color-faces-vector): Change default faces.
* cus-edit.el (mode-line):
* dframe.el (dframe-mouse-hscroll):
* emacs-lisp/re-builder.el:
* emacs-lisp/easy-mmode.el (define-minor-mode):
* frame.el (set-frame-name):
* help.el (lookup-minor-mode-from-indicator):
* net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
* progmodes/cc-cmds.el (c-toggle-auto-newline)
(c-toggle-hungry-state):
* progmodes/antlr-mode.el (antlr-language-alist):
* progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
* progmodes/vhdl-mode.el (vhdl-mode):
* progmodes/which-func.el (which-func, which-func-cleanup-function):
* term/ns-win.el (ns-face-at-pos):
* term/sup-mouse.el (sup-mouse-report):
* textmodes/flyspell.el (flyspell-mode-line-string):
* textmodes/ispell.el (ispell-highlight-face):
* textmodes/reftex-global.el:
* vc/vc-arch.el (vc-arch-mode-line-string):
* vc/vc-cvs.el (vc-cvs-mode-line-string):
* vc/vc-git.el (vc-git-mode-line-string):
* vc/vc-hooks.el (vc-display-status)
(vc-default-mode-line-string):
* vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
* dired.el (dired-sort-set-mode-line): Rename from
dired-sort-set-modeline. All callers changed.
* foldout.el (foldout-mode-line-string): Rename from
foldout-modeline-string. All callers changed.
(foldout-update-mode-line): Rename from foldout-update-modeline.
* strokes.el (strokes-lighter): Rename from
strokes-modeline-string.
* subr.el (redraw-modeline): Make into obsolete alias.
* calendar/timeclock.el (timeclock-mode-line-display): Rename from
timeclock-modeline-display. Make old name an alias.
(timeclock-update-mode-line): Likewise. All callers changed.
(timeclock-mode-line-display): No need to check before using
add-hook.
(timeclock-relative, timeclock-day-over-hook)
(timeclock-use-elapsed, timeclock-mode-string)
(timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
* emulation/crisp.el (crisp-mode-mode-line-string): Rename from
crisp-mode-modeline-string.
* erc-track.el (erc-track, erc-track-faces-priority-list)
(erc-track-faces-normal-list, erc-track-find-face)
(erc-track-modified-channels): Fix modeline -> mode line in docs.
* eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
eshell-status-in-modeline.
* org-clock.el (org-clock-string-limit)
(org-clock-modeline-total, org-clock-task-overrun-text)
(org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
* play/solitaire.el (solitaire-build-mode-line): Rename from
solitaire-build-modeline. All callers changed.
* play/zone.el (zone-hiding-mode-line): Rename from
zone-hiding-modeline. All callers changed.
(zone): Remove unusued `modeline-hidden-level' property.
* progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
xscheme-modeline-initialize. All callers changed.
* textmodes/sgml-mode.el (html-face-tag-alist)
(html-tag-face-alist): Use mode-line face instead of obsolete
alias modeline.
Fixes: debbugs:10329
Diffstat (limited to 'lisp/calculator.el')
-rw-r--r-- | lisp/calculator.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/calculator.el b/lisp/calculator.el index 6e935f246a0..14f50a0adcb 100644 --- a/lisp/calculator.el +++ b/lisp/calculator.el @@ -717,17 +717,17 @@ See the documentation for `calculator-mode' for more information." (cond ((not (get-buffer-window calculator-buffer)) (let ((window-min-height 2)) - ;; maybe leave two lines for our window because of the normal - ;; `raised' modeline in Emacs 21 + ;; maybe leave two lines for our window because of the + ;; normal `raised' mode line (select-window (split-window-below - ;; If the modeline might interfere with the calculator buffer, - ;; use 3 lines instead. + ;; If the mode line might interfere with the calculator + ;; buffer, use 3 lines instead. (if (and (fboundp 'face-attr-construct) (let* ((dh (plist-get (face-attr-construct 'default) :height)) - (mf (face-attr-construct 'modeline)) + (mf (face-attr-construct 'mode-line)) (mh (plist-get mf :height))) - ;; If the modeline is shorter than the default, + ;; If the mode line is shorter than the default, ;; stick with 2 lines. (It may be necessary to ;; check how much shorter.) (and @@ -739,7 +739,7 @@ See the documentation for `calculator-mode' for more information." (not (integerp mh)) (< mh 1)))) (or - ;; If the modeline is taller than the default, + ;; If the mode line is taller than the default, ;; use 3 lines. (and (integerp dh) (integerp mh) @@ -747,7 +747,7 @@ See the documentation for `calculator-mode' for more information." (and (numberp mh) (not (integerp mh)) (> mh 1)) - ;; If the modeline has a box with non-negative line-width, + ;; If the mode line has a box with non-negative line-width, ;; use 3 lines. (let* ((bx (plist-get mf :box)) (lh (plist-get bx :line-width))) @@ -755,8 +755,8 @@ See the documentation for `calculator-mode' for more information." (or (not lh) (> lh 0)))) - ;; If the modeline has an overline, use 3 lines. - (plist-get (face-attr-construct 'modeline) :overline))))) + ;; If the mode line has an overline, use 3 lines. + (plist-get (face-attr-construct 'mode-line) :overline))))) -3 -2))) (switch-to-buffer calculator-buffer))) ((not (eq (current-buffer) calculator-buffer)) |