aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/display.texi
diff options
context:
space:
mode:
Diffstat (limited to 'lispref/display.texi')
-rw-r--r--lispref/display.texi27
1 files changed, 15 insertions, 12 deletions
diff --git a/lispref/display.texi b/lispref/display.texi
index 294a6d64e7e..d9b5a9e5f0b 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -2876,12 +2876,12 @@ used in both left and right fringes.
2876When @code{fringe-indicator-alist} has a buffer-local value, and there 2876When @code{fringe-indicator-alist} has a buffer-local value, and there
2877is no bitmap defined for a logical indicator, or the bitmap is 2877is no bitmap defined for a logical indicator, or the bitmap is
2878@code{t}, the corresponding value from the (non-local) 2878@code{t}, the corresponding value from the (non-local)
2879@code{default-fringes-indicator-alist} is used. 2879@code{default-fringe-indicator-alist} is used.
2880 2880
2881To completely hide a specific indicator, set the bitmap to @code{nil}. 2881To completely hide a specific indicator, set the bitmap to @code{nil}.
2882@end defvar 2882@end defvar
2883 2883
2884@defvar default-fringes-indicator-alist 2884@defvar default-fringe-indicator-alist
2885The value of this variable is the default value for 2885The value of this variable is the default value for
2886@code{fringe-indicator-alist} in buffers that do not override it. 2886@code{fringe-indicator-alist} in buffers that do not override it.
2887@end defvar 2887@end defvar
@@ -2891,7 +2891,7 @@ The value of this variable is the default value for
2891@code{left-arrow}, @code{right-arrow}, @code{up-arrow}, @code{down-arrow}, 2891@code{left-arrow}, @code{right-arrow}, @code{up-arrow}, @code{down-arrow},
2892@code{left-curly-arrow}, @code{right-curly-arrow}, 2892@code{left-curly-arrow}, @code{right-curly-arrow},
2893@code{left-triangle}, @code{right-triangle}, 2893@code{left-triangle}, @code{right-triangle},
2894@code{top-left-angle}, @code{ top-right-angle}, 2894@code{top-left-angle}, @code{top-right-angle},
2895@code{bottom-left-angle}, @code{bottom-right-angle}, 2895@code{bottom-left-angle}, @code{bottom-right-angle},
2896@code{left-bracket}, @code{right-bracket}, 2896@code{left-bracket}, @code{right-bracket},
2897@code{filled-rectangle}, @code{hollow-rectangle}, 2897@code{filled-rectangle}, @code{hollow-rectangle},
@@ -4127,13 +4127,14 @@ should specify the image as follows:
4127 4127
4128@defun image-load-path-for-library library image &optional path no-error 4128@defun image-load-path-for-library library image &optional path no-error
4129@tindex image-load-path-for-library 4129@tindex image-load-path-for-library
4130This function returns a suitable search path for images relative to 4130This function returns a suitable search path for images used by the
4131@var{library}. 4131Lisp package @var{library}.
4132 4132
4133First it searches for @var{image} in a path suitable for 4133It searches for @var{image} in @code{image-load-path} (excluding
4134@var{library}, which includes @file{../../etc/images} and 4134@file{@code{data-directory}/images}) and @code{load-path}, followed by
4135@file{../etc/images} relative to the library file itself, followed by 4135a path suitable for @var{library}, which includes
4136@code{image-load-path} and @code{load-path}. 4136@file{../../etc/images} and @file{../etc/images} relative to the
4137library file itself, and then in @file{@code{data-directory}/images}.
4137 4138
4138Then this function returns a list of directories which contains first 4139Then this function returns a list of directories which contains first
4139the directory in which @var{image} was found, followed by the value of 4140the directory in which @var{image} was found, followed by the value of
@@ -4148,11 +4149,13 @@ Here is an example that uses a common idiom to provide compatibility
4148with versions of Emacs that lack the variable @code{image-load-path}: 4149with versions of Emacs that lack the variable @code{image-load-path}:
4149 4150
4150@example 4151@example
4151;; Avoid errors on Emacsen without `image-load-path'. 4152;; Shush compiler.
4152(if (not (boundp 'image-load-path)) (defvar image-load-path nil)) 4153(defvar image-load-path)
4153 4154
4154(let* ((load-path (image-load-path-for-library "mh-e" "mh-logo.xpm")) 4155(let* ((load-path (image-load-path-for-library "mh-e" "mh-logo.xpm"))
4155 (image-load-path (cons (car load-path) image-load-path))) 4156 (image-load-path (cons (car load-path)
4157 (when (boundp 'image-load-path)
4158 image-load-path))))
4156 (mh-tool-bar-folder-buttons-init)) 4159 (mh-tool-bar-folder-buttons-init))
4157@end example 4160@end example
4158@end defun 4161@end defun