From 7464346de7f3aa76a46146d8bede0a8ce5839030 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 26 Apr 2000 17:46:21 +0000 Subject: [PATCH] *** empty log message *** --- etc/NEWS | 17 ++++++++++++++++- lisp/ChangeLog | 18 ++++++++++++++++++ lisp/loaddefs.el | 25 ++++++++++++++++++++----- src/ChangeLog | 6 ++++++ 4 files changed, 60 insertions(+), 6 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 1d2cdfc63ca..fded8918828 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1147,6 +1147,16 @@ Note that +++ before an item means the Lisp manual has been updated. When you add a new item, please add it without either +++ or --- so I will know I still need to look at it -- rms. +** The function `add-minor-mode' simplifies the definition of minor +modes. + +- Function: add-minor-mode SYMBOL NAME MAP + +Register a new minor mode. SYMBOL is the name of a buffer-local +variable that is toggled on or off to say whether the minor mode is +active or not. NAME is the string that will appear in the mode line +when the minor mode is active. MAP is the keymap for the minor mode. + ** The function `shell-command' now sets the default directory of the `*Shell Command Output*' buffer to the default directory of the buffer from which the command was issued. @@ -3803,9 +3813,14 @@ reminder about upcoming diary entries. See the documentation string for a sample shell script for calling this function automatically every night. -** All you need to do, to enable use of the Desktop package, is to set +** Desktop changes + +*** All you need to do to enable use of the Desktop package, is to set the variable desktop-enable to t with Custom. +*** Minor modes are now restored. Which minor modes are restored +and how modes are restored is controlled by `desktop-minor-mode-table'. + ** There is no need to do anything special, now, to enable Gnus to read and post multi-lingual articles. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a282fb6dedd..4a74c6b1e02 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,21 @@ +2000-04-26 Gerd Moellmann + + * desktop.el (desktop-save): Save list of minor modes. + (desktop-create-buffer): Restore minor modes. + (desktop-minor-mode-table): New user-option. + + * subr.el (add-minor-mode): New function. + + * image.el (find-image): New function. + (defimage): Rewritten to find image at load time. + + * startup.el (normal-top-level-add-to-load-path): Handle + case that the default directory is not in load-path. + + * help.el: Old patch from Stefan Monnier. + (help-xref-on-pp): New function. + (describe-variable): Use it to display xrefs in a symbol's value. + 2000-04-26 Stefan Monnier * cus-edit.el (custom-face): Fix parenthesis. diff --git a/lisp/loaddefs.el b/lisp/loaddefs.el index d2266672097..fa85c1b56b9 100644 --- a/lisp/loaddefs.el +++ b/lisp/loaddefs.el @@ -3953,7 +3953,7 @@ the first time the mode is used." nil nil) ;;;*** ;;;### (autoloads (desktop-load-default desktop-read) "desktop" "desktop.el" -;;;;;; (14495 17963)) +;;;;;; (14598 57772)) ;;; Generated autoloads from desktop.el (autoload (quote desktop-read) "desktop" "\ @@ -8017,9 +8017,9 @@ Switches to the buffer `*ielm*', or creates it if it does not exist." t nil) ;;;*** -;;;### (autoloads (defimage remove-images insert-image put-image -;;;;;; create-image image-type-available-p image-type-from-file-header -;;;;;; image-type-from-data) "image" "image.el" (14524 62778)) +;;;### (autoloads (defimage find-image remove-images insert-image +;;;;;; put-image create-image image-type-available-p image-type-from-file-header +;;;;;; image-type-from-data) "image" "image.el" (14598 54652)) ;;; Generated autoloads from image.el (autoload (quote image-type-from-data) "image" "\ @@ -8074,6 +8074,21 @@ Remove images between START and END in BUFFER. Remove only images that were put in BUFFER with calls to `put-image'. BUFFER nil or omitted means use the current buffer." nil nil) +(autoload (quote find-image) "image" "\ +Find an image, choosing one of a list of image specifications. + +SPECS is a list of image specifications. DOC is an optional +documentation string. + +Each image specification in SPECS is a property list. The contents of +a specification are image type dependent. All specifications must at +least contain the properties `:type TYPE' and either `:file FILE' or +`:data DATA', where TYPE is a symbol specifying the image type, +e.g. `xbm', FILE is the file to load the image from, and DATA is a +string containing the actual image data. The first image +specification whose TYPE is supported, and FILE exists, is used to +define SYMBOL." nil nil) + (autoload (quote defimage) "image" "\ Define SYMBOL as an image. @@ -13361,7 +13376,7 @@ From a program takes two point or marker arguments, BEG and END." t nil) ;;;*** ;;;### (autoloads (speedbar-get-focus speedbar-frame-mode) "speedbar" -;;;;;; "speedbar.el" (14597 45194)) +;;;;;; "speedbar.el" (14598 31838)) ;;; Generated autoloads from speedbar.el (defalias (quote speedbar) (quote speedbar-frame-mode)) diff --git a/src/ChangeLog b/src/ChangeLog index daf9ff07f98..52e876ea666 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2000-04-26 Gerd Moellmann + + * xdisp.c (display_line): If lines are continued, restore + iterator's ascent/descent information to the values before the + first glyph not fitting on the line. + 2000-04-25 Gerd Moellmann * xdisp.c (try_window_id) : Adjust -- 2.39.5