aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-04-19 19:12:22 +0000
committerGerd Moellmann2000-04-19 19:12:22 +0000
commit271b4185ff24387dbee38a3fbbc8c3a8ab6d79cc (patch)
tree19c5e9cdd933c174a4dd31d395b87550f3643c91
parent9f6bff44411c75a856b3c426090c8fa7821bfcbf (diff)
downloademacs-271b4185ff24387dbee38a3fbbc8c3a8ab6d79cc.tar.gz
emacs-271b4185ff24387dbee38a3fbbc8c3a8ab6d79cc.zip
*** empty log message ***
-rw-r--r--etc/NEWS27
-rw-r--r--lisp/ChangeLog14
2 files changed, 41 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index bc5edcc181d..1ad5e8a285a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -104,6 +104,9 @@ area or with tooltips.
104** New user option `read-mail-command' specifies a command to use to 104** New user option `read-mail-command' specifies a command to use to
105read mail from the menu etc. 105read mail from the menu etc.
106 106
107** Hexl contains a new command `hexl-insert-hex-string' which inserts
108a string of hexadecimal numbers read from the mini-buffer.
109
107** Changes in Texinfo mode. 110** Changes in Texinfo mode.
108 111
109** A couple of new key bindings have been added for inserting Texinfo 112** A couple of new key bindings have been added for inserting Texinfo
@@ -1118,6 +1121,30 @@ Note that +++ before an item means the Lisp manual has been updated.
1118When you add a new item, please add it without either +++ or --- 1121When you add a new item, please add it without either +++ or ---
1119so I will know I still need to look at it -- rms. 1122so I will know I still need to look at it -- rms.
1120 1123
1124** The new function `count-screen-lines' is a more flexible alternative
1125to `window-buffer-height'.
1126
1127- Function: count-screen-lines &optional BEG END COUNT-FINAL-NEWLINE WINDOW
1128
1129Return the number of screen lines in the region between BEG and END.
1130The number of screen lines may be different from the number of actual
1131lines, due to line breaking, display table, etc.
1132
1133Optional arguments BEG and END default to `point-min' and `point-max'
1134respectively.
1135
1136If region ends with a newline, ignore it unless optinal third argument
1137COUNT-FINAL-NEWLINE is non-nil.
1138
1139The optional fourth argument WINDOW specifies the window used for
1140obtaining parameters such as width, horizontal scrolling, and so
1141on. The default is to use the selected window's parameters.
1142
1143Like `vertical-motion', `count-screen-lines' always uses the current
1144buffer, regardless of which buffer is displayed in WINDOW. This makes
1145possible to use `count-screen-lines' in any buffer, whether or not it
1146is currently displayed in some window.
1147
1121** The new function `mapc' is like `mapcar' but doesn't collect the 1148** The new function `mapc' is like `mapcar' but doesn't collect the
1122argument function's results. 1149argument function's results.
1123 1150
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b7410da0712..5ed2bf08945 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,19 @@
12000-04-19 Gerd Moellmann <gerd@gnu.org> 12000-04-19 Gerd Moellmann <gerd@gnu.org>
2 2
3 * help.el (resize-temp-buffer-window): Use count-screen-lines.
4
5 * window.el (count-screen-lines): New function.
6 (shrink-window-if-larger-than-buffer): Use count-screen-lines
7 instead of window-buffer-height.
8
9 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
10 non-existing variable comint-input-sentinel.
11 (inferior-lisp-args-to-list): Removed.
12 (inferior-lisp): Use split-string instead of
13 inferior-lisp-args-to-list.
14
15 * hexl.el (hexl-insert-hex-string): New command.
16
3 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name 17 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
4 instead of concat. 18 instead of concat.
5 19