diff options
| author | Miles Bader | 2008-01-02 02:20:42 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-01-02 02:20:42 +0000 |
| commit | b201b9880e01120b7e64f82c98464c5bea630b0d (patch) | |
| tree | 8205967f8225afc15b26f7fb630ec4e6b4ef87ea | |
| parent | 42a0a13593c252378b8d6eecd97b7971ebd6808a (diff) | |
| parent | 76564e7ce3b5e888e3260dd3510c3cf1a254f7da (diff) | |
| download | emacs-b201b9880e01120b7e64f82c98464c5bea630b0d.tar.gz emacs-b201b9880e01120b7e64f82c98464c5bea630b0d.zip | |
Merge from emacs--rel--22, gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-975
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/commands.texi | 11 | ||||
| -rw-r--r-- | lisp/ChangeLog | 25 | ||||
| -rw-r--r-- | lisp/cus-edit.el | 48 | ||||
| -rw-r--r-- | lisp/facemenu.el | 4 | ||||
| -rw-r--r-- | lisp/faces.el | 6 | ||||
| -rw-r--r-- | lisp/font-lock.el | 12 | ||||
| -rw-r--r-- | lisp/startup.el | 27 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 9 |
9 files changed, 102 insertions, 45 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 50399b0120e..9f98547e590 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-12-30 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * commands.texi (Accessing Mouse): Renamed from Accessing Events. | ||
| 4 | (Accessing Scroll): New node broken out of Accessing Mouse. | ||
| 5 | |||
| 1 | 2007-12-28 Richard Stallman <rms@gnu.org> | 6 | 2007-12-28 Richard Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * frames.texi (Size Parameters): Fix typo. | 8 | * frames.texi (Size Parameters): Fix typo. |
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index cdd627f6b52..aef7e4d9a43 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi | |||
| @@ -954,7 +954,8 @@ the current Emacs session. If a symbol has not yet been so used, | |||
| 954 | * Event Examples:: Examples of the lists for mouse events. | 954 | * Event Examples:: Examples of the lists for mouse events. |
| 955 | * Classifying Events:: Finding the modifier keys in an event symbol. | 955 | * Classifying Events:: Finding the modifier keys in an event symbol. |
| 956 | Event types. | 956 | Event types. |
| 957 | * Accessing Events:: Functions to extract info from events. | 957 | * Accessing Mouse:: Functions to extract info from mouse events. |
| 958 | * Accessing Scroll:: Functions to get info from scroll bar events. | ||
| 958 | * Strings of Events:: Special considerations for putting | 959 | * Strings of Events:: Special considerations for putting |
| 959 | keyboard character events in a string. | 960 | keyboard character events in a string. |
| 960 | @end menu | 961 | @end menu |
| @@ -1810,8 +1811,8 @@ must be the last element of the list. For example, | |||
| 1810 | @end example | 1811 | @end example |
| 1811 | @end defun | 1812 | @end defun |
| 1812 | 1813 | ||
| 1813 | @node Accessing Events | 1814 | @node Accessing Mouse |
| 1814 | @subsection Accessing Events | 1815 | @subsection Accessing Mouse Events |
| 1815 | @cindex mouse events, data in | 1816 | @cindex mouse events, data in |
| 1816 | 1817 | ||
| 1817 | This section describes convenient functions for accessing the data in | 1818 | This section describes convenient functions for accessing the data in |
| @@ -1957,6 +1958,10 @@ to the window text area, otherwise they are relative to | |||
| 1957 | the entire window area including scroll bars, margins and fringes. | 1958 | the entire window area including scroll bars, margins and fringes. |
| 1958 | @end defun | 1959 | @end defun |
| 1959 | 1960 | ||
| 1961 | @node Accessing Scroll | ||
| 1962 | @subsection Accessing Scroll Bar Events | ||
| 1963 | @cindex scroll bar events, data in | ||
| 1964 | |||
| 1960 | These functions are useful for decoding scroll bar events. | 1965 | These functions are useful for decoding scroll bar events. |
| 1961 | 1966 | ||
| 1962 | @defun scroll-bar-event-ratio event | 1967 | @defun scroll-bar-event-ratio event |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ac027b954c2..fc4e3046931 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,28 @@ | |||
| 1 | 2007-12-29 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * font-lock.el (font-lock-prepend-text-property) | ||
| 4 | (font-lock-append-text-property): Canonicalize the face and | ||
| 5 | font-lock-face properties. | ||
| 6 | |||
| 7 | * faces.el (facep): Doc fix. | ||
| 8 | |||
| 9 | * startup.el (fancy-startup-tail, fancy-about-text) | ||
| 10 | (fancy-startup-text): Regularize format of face property. | ||
| 11 | |||
| 12 | * facemenu.el (list-colors-print): Use :background and :foreground | ||
| 13 | instead of background-color and foreground-color. | ||
| 14 | |||
| 15 | 2007-12-29 Drew Adams <drew.adams@oracle.com> | ||
| 16 | |||
| 17 | * cus-edit.el (custom-add-parent-links): | ||
| 18 | Fill the "Parent documentation" text. | ||
| 19 | |||
| 20 | 2007-12-29 Eli Zaretskii <eliz@gnu.org> | ||
| 21 | |||
| 22 | * textmodes/ispell.el (ispell-grep-command): Use "grep" on | ||
| 23 | MS-Windows and MS-DOS. | ||
| 24 | (ispell-grep-options): Use "-Ei" on MS-Windows and MS-DOS. | ||
| 25 | |||
| 1 | 2008-01-02 Eric S. Raymond <esr@snark.thyrsus.com> | 26 | 2008-01-02 Eric S. Raymond <esr@snark.thyrsus.com> |
| 2 | 27 | ||
| 3 | * vc-svn.el (vc-svn-modify-change comment): New function. | 28 | * vc-svn.el (vc-svn-modify-change comment): New function. |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index e2b885c6902..b46981f137b 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -1395,7 +1395,7 @@ that are not customizable options, as well as faces and groups | |||
| 1395 | (defun customize-apropos-options (regexp &optional arg) | 1395 | (defun customize-apropos-options (regexp &optional arg) |
| 1396 | "Customize all loaded customizable options matching REGEXP. | 1396 | "Customize all loaded customizable options matching REGEXP. |
| 1397 | With prefix arg, include variables that are not customizable options | 1397 | With prefix arg, include variables that are not customizable options |
| 1398 | \(but we recommend using `apropos-variable' instead)." | 1398 | \(but it is better to use `apropos-variable' if you want to find those)." |
| 1399 | (interactive "sCustomize options (regexp): \nP") | 1399 | (interactive "sCustomize options (regexp): \nP") |
| 1400 | (customize-apropos regexp (or arg 'options))) | 1400 | (customize-apropos regexp (or arg 'options))) |
| 1401 | 1401 | ||
| @@ -2258,7 +2258,8 @@ Insert PREFIX first if non-nil." | |||
| 2258 | (insert ", ")))) | 2258 | (insert ", ")))) |
| 2259 | (widget-put widget :buttons buttons)))) | 2259 | (widget-put widget :buttons buttons)))) |
| 2260 | 2260 | ||
| 2261 | (defun custom-add-parent-links (widget &optional initial-string) | 2261 | (defun custom-add-parent-links (widget &optional initial-string |
| 2262 | doc-initial-string) | ||
| 2262 | "Add \"Parent groups: ...\" to WIDGET if the group has parents. | 2263 | "Add \"Parent groups: ...\" to WIDGET if the group has parents. |
| 2263 | The value is non-nil if any parents were found. | 2264 | The value is non-nil if any parents were found. |
| 2264 | If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"." | 2265 | If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"." |
| @@ -2267,7 +2268,7 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"." | |||
| 2267 | (buttons (widget-get widget :buttons)) | 2268 | (buttons (widget-get widget :buttons)) |
| 2268 | (start (point)) | 2269 | (start (point)) |
| 2269 | (parents nil)) | 2270 | (parents nil)) |
| 2270 | (insert (or initial-string "Parent groups:")) | 2271 | (insert (or initial-string "Groups:")) |
| 2271 | (mapatoms (lambda (symbol) | 2272 | (mapatoms (lambda (symbol) |
| 2272 | (when (member (list name type) (get symbol 'custom-group)) | 2273 | (when (member (list name type) (get symbol 'custom-group)) |
| 2273 | (insert " ") | 2274 | (insert " ") |
| @@ -2286,23 +2287,27 @@ If INITIAL-STRING is non-nil, use that rather than \"Parent groups:\"." | |||
| 2286 | (get (car parents) 'custom-links)))) | 2287 | (get (car parents) 'custom-links)))) |
| 2287 | (many (> (length links) 2))) | 2288 | (many (> (length links) 2))) |
| 2288 | (when links | 2289 | (when links |
| 2289 | (insert "\nParent documentation: ") | 2290 | (let ((pt (point)) |
| 2290 | (while links | 2291 | (left-margin (+ left-margin 2))) |
| 2291 | (push (widget-create-child-and-convert | 2292 | (insert "\n" (or doc-initial-string "Group documentation:") " ") |
| 2292 | widget (car links) | 2293 | (while links |
| 2293 | :button-face 'custom-link | 2294 | (push (widget-create-child-and-convert |
| 2294 | :mouse-face 'highlight | 2295 | widget (car links) |
| 2295 | :pressed-face 'highlight) | 2296 | :button-face 'custom-link |
| 2296 | buttons) | 2297 | :mouse-face 'highlight |
| 2297 | (setq links (cdr links)) | 2298 | :pressed-face 'highlight) |
| 2298 | (cond ((null links) | 2299 | buttons) |
| 2299 | (insert ".\n")) | 2300 | (setq links (cdr links)) |
| 2300 | ((null (cdr links)) | 2301 | (cond ((null links) |
| 2301 | (if many | 2302 | (insert ".\n")) |
| 2302 | (insert ", and ") | 2303 | ((null (cdr links)) |
| 2303 | (insert " and "))) | 2304 | (if many |
| 2304 | (t | 2305 | (insert ", and ") |
| 2305 | (insert ", "))))))) | 2306 | (insert " and "))) |
| 2307 | (t | ||
| 2308 | (insert ", ")))) | ||
| 2309 | (fill-region-as-paragraph pt (point)) | ||
| 2310 | (delete-to-left-margin (1+ pt) (+ pt 2)))))) | ||
| 2306 | (if parents | 2311 | (if parents |
| 2307 | (insert "\n") | 2312 | (insert "\n") |
| 2308 | (delete-region start (point))) | 2313 | (delete-region start (point))) |
| @@ -3894,7 +3899,8 @@ If GROUPS-ONLY non-nil, return only those members that are groups." | |||
| 3894 | ;;; was made to display a group. | 3899 | ;;; was made to display a group. |
| 3895 | (when (eq level 1) | 3900 | (when (eq level 1) |
| 3896 | (if (custom-add-parent-links widget | 3901 | (if (custom-add-parent-links widget |
| 3897 | "Parent groups:") | 3902 | "Parent groups:" |
| 3903 | "Parent group documentation:") | ||
| 3898 | (insert "\n")))) | 3904 | (insert "\n")))) |
| 3899 | ;; Create level indicator. | 3905 | ;; Create level indicator. |
| 3900 | (insert-char ?\ (* custom-buffer-indent (1- level))) | 3906 | (insert-char ?\ (* custom-buffer-indent (1- level))) |
diff --git a/lisp/facemenu.el b/lisp/facemenu.el index 968a115c5d1..61a6f52f55b 100644 --- a/lisp/facemenu.el +++ b/lisp/facemenu.el | |||
| @@ -541,14 +541,14 @@ argument BUFFER-NAME is nil, it defaults to *Colors*." | |||
| 541 | (insert (car color)) | 541 | (insert (car color)) |
| 542 | (indent-to 22)) | 542 | (indent-to 22)) |
| 543 | (point) | 543 | (point) |
| 544 | 'face (cons 'background-color (car color))) | 544 | 'face (list ':background (car color))) |
| 545 | (put-text-property | 545 | (put-text-property |
| 546 | (prog1 (point) | 546 | (prog1 (point) |
| 547 | (insert " " (if (cdr color) | 547 | (insert " " (if (cdr color) |
| 548 | (mapconcat 'identity (cdr color) ", ") | 548 | (mapconcat 'identity (cdr color) ", ") |
| 549 | (car color)))) | 549 | (car color)))) |
| 550 | (point) | 550 | (point) |
| 551 | 'face (cons 'foreground-color (car color))) | 551 | 'face (list ':foreground (car color))) |
| 552 | (indent-to (max (- (window-width) 8) 44)) | 552 | (indent-to (max (- (window-width) 8) 44)) |
| 553 | (insert (apply 'format "#%02x%02x%02x" | 553 | (insert (apply 'format "#%02x%02x%02x" |
| 554 | (mapcar (lambda (c) (lsh c -8)) | 554 | (mapcar (lambda (c) (lsh c -8)) |
diff --git a/lisp/faces.el b/lisp/faces.el index b2646b21a1a..18398b5e86f 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -206,10 +206,8 @@ The optional argument FRAME is ignored." | |||
| 206 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 206 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 207 | 207 | ||
| 208 | (defun facep (face) | 208 | (defun facep (face) |
| 209 | "Return non-nil if FACE is a face name or internal face object. | 209 | "Return non-nil if FACE is a face name; nil otherwise. |
| 210 | Return nil otherwise. A face name can be a string or a symbol. | 210 | A face name can be a string or a symbol." |
| 211 | An internal face object is a vector of the kind used internally | ||
| 212 | to record face data." | ||
| 213 | (internal-lisp-face-p face)) | 211 | (internal-lisp-face-p face)) |
| 214 | 212 | ||
| 215 | 213 | ||
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 76f3da98bec..96306be2215 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -1303,6 +1303,12 @@ Optional argument OBJECT is the string or buffer containing the text." | |||
| 1303 | (while (/= start end) | 1303 | (while (/= start end) |
| 1304 | (setq next (next-single-property-change start prop object end) | 1304 | (setq next (next-single-property-change start prop object end) |
| 1305 | prev (get-text-property start prop object)) | 1305 | prev (get-text-property start prop object)) |
| 1306 | ;; Canonicalize old forms of face property. | ||
| 1307 | (and (memq prop '(face font-lock-face)) | ||
| 1308 | (listp prev) | ||
| 1309 | (or (keywordp (car prev)) | ||
| 1310 | (memq (car prev) '(foreground-color background-color))) | ||
| 1311 | (setq prev (list prev))) | ||
| 1306 | (put-text-property start next prop | 1312 | (put-text-property start next prop |
| 1307 | (append val (if (listp prev) prev (list prev))) | 1313 | (append val (if (listp prev) prev (list prev))) |
| 1308 | object) | 1314 | object) |
| @@ -1317,6 +1323,12 @@ Optional argument OBJECT is the string or buffer containing the text." | |||
| 1317 | (while (/= start end) | 1323 | (while (/= start end) |
| 1318 | (setq next (next-single-property-change start prop object end) | 1324 | (setq next (next-single-property-change start prop object end) |
| 1319 | prev (get-text-property start prop object)) | 1325 | prev (get-text-property start prop object)) |
| 1326 | ;; Canonicalize old forms of face property. | ||
| 1327 | (and (memq prop '(face font-lock-face)) | ||
| 1328 | (listp prev) | ||
| 1329 | (or (keywordp (car prev)) | ||
| 1330 | (memq (car prev) '(foreground-color background-color))) | ||
| 1331 | (setq prev (list prev))) | ||
| 1320 | (put-text-property start next prop | 1332 | (put-text-property start next prop |
| 1321 | (append (if (listp prev) prev (list prev)) val) | 1333 | (append (if (listp prev) prev (list prev)) val) |
| 1322 | object) | 1334 | object) |
diff --git a/lisp/startup.el b/lisp/startup.el index 1faf63efa78..24c29f52a86 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1156,7 +1156,7 @@ regardless of the value of this variable." | |||
| 1156 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 1156 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 1157 | 1157 | ||
| 1158 | (defvar fancy-startup-text | 1158 | (defvar fancy-startup-text |
| 1159 | '((:face (variable-pitch :foreground "red") | 1159 | '((:face (variable-pitch (:foreground "red")) |
| 1160 | "Welcome to " | 1160 | "Welcome to " |
| 1161 | :link ("GNU Emacs" | 1161 | :link ("GNU Emacs" |
| 1162 | (lambda (button) (browse-url "http://www.gnu.org/software/emacs/")) | 1162 | (lambda (button) (browse-url "http://www.gnu.org/software/emacs/")) |
| @@ -1202,7 +1202,7 @@ regardless of the value of this variable." | |||
| 1202 | "\tView the Emacs manual using Info\n" | 1202 | "\tView the Emacs manual using Info\n" |
| 1203 | :link ("Absence of Warranty" (lambda (button) (describe-no-warranty))) | 1203 | :link ("Absence of Warranty" (lambda (button) (describe-no-warranty))) |
| 1204 | "\tGNU Emacs comes with " | 1204 | "\tGNU Emacs comes with " |
| 1205 | :face (variable-pitch :slant oblique) | 1205 | :face (variable-pitch (:slant oblique)) |
| 1206 | "ABSOLUTELY NO WARRANTY\n" | 1206 | "ABSOLUTELY NO WARRANTY\n" |
| 1207 | :face variable-pitch | 1207 | :face variable-pitch |
| 1208 | :link ("Copying Conditions" (lambda (button) (describe-copying))) | 1208 | :link ("Copying Conditions" (lambda (button) (describe-copying))) |
| @@ -1215,7 +1215,7 @@ Each element in the list should be a list of strings or pairs | |||
| 1215 | `:face FACE', like `fancy-splash-insert' accepts them.") | 1215 | `:face FACE', like `fancy-splash-insert' accepts them.") |
| 1216 | 1216 | ||
| 1217 | (defvar fancy-about-text | 1217 | (defvar fancy-about-text |
| 1218 | '((:face (variable-pitch :foreground "red") | 1218 | '((:face (variable-pitch (:foreground "red")) |
| 1219 | "This is " | 1219 | "This is " |
| 1220 | :link ("GNU Emacs" | 1220 | :link ("GNU Emacs" |
| 1221 | (lambda (button) (browse-url "http://www.gnu.org/software/emacs/")) | 1221 | (lambda (button) (browse-url "http://www.gnu.org/software/emacs/")) |
| @@ -1231,13 +1231,14 @@ Each element in the list should be a list of strings or pairs | |||
| 1231 | "Display info on the GNU project."))) | 1231 | "Display info on the GNU project."))) |
| 1232 | " operating system.\n" | 1232 | " operating system.\n" |
| 1233 | :face (lambda () | 1233 | :face (lambda () |
| 1234 | (list 'variable-pitch :foreground | 1234 | (list 'variable-pitch |
| 1235 | (if (eq (frame-parameter nil 'background-mode) 'dark) | 1235 | (list :foreground |
| 1236 | "cyan" "darkblue"))) | 1236 | (if (eq (frame-parameter nil 'background-mode) 'dark) |
| 1237 | "cyan" "darkblue")))) | ||
| 1237 | "\n" | 1238 | "\n" |
| 1238 | (lambda () (emacs-version)) | 1239 | (lambda () (emacs-version)) |
| 1239 | "\n" | 1240 | "\n" |
| 1240 | :face (variable-pitch :height 0.5) | 1241 | :face (variable-pitch (:height 0.5)) |
| 1241 | (lambda () emacs-copyright) | 1242 | (lambda () emacs-copyright) |
| 1242 | "\n\n" | 1243 | "\n\n" |
| 1243 | :face variable-pitch | 1244 | :face variable-pitch |
| @@ -1256,7 +1257,7 @@ Each element in the list should be a list of strings or pairs | |||
| 1256 | "\tWhy we developed GNU Emacs, and the GNU operating system\n" | 1257 | "\tWhy we developed GNU Emacs, and the GNU operating system\n" |
| 1257 | :link ("Absence of Warranty" (lambda (button) (describe-no-warranty))) | 1258 | :link ("Absence of Warranty" (lambda (button) (describe-no-warranty))) |
| 1258 | "\tGNU Emacs comes with " | 1259 | "\tGNU Emacs comes with " |
| 1259 | :face (variable-pitch :slant oblique) | 1260 | :face (variable-pitch (:slant oblique)) |
| 1260 | "ABSOLUTELY NO WARRANTY\n" | 1261 | "ABSOLUTELY NO WARRANTY\n" |
| 1261 | :face variable-pitch | 1262 | :face variable-pitch |
| 1262 | :link ("Copying Conditions" (lambda (button) (describe-copying))) | 1263 | :link ("Copying Conditions" (lambda (button) (describe-copying))) |
| @@ -1410,11 +1411,11 @@ a face or button specification." | |||
| 1410 | (lambda (button) (customize-group 'initialization)) | 1411 | (lambda (button) (customize-group 'initialization)) |
| 1411 | "Change initialization settings including this screen") | 1412 | "Change initialization settings including this screen") |
| 1412 | "\n")) | 1413 | "\n")) |
| 1413 | (fancy-splash-insert :face `(variable-pitch :foreground ,fg) | 1414 | (fancy-splash-insert :face `(variable-pitch (:foreground ,fg)) |
| 1414 | "\nThis is " | 1415 | "\nThis is " |
| 1415 | (emacs-version) | 1416 | (emacs-version) |
| 1416 | "\n" | 1417 | "\n" |
| 1417 | :face '(variable-pitch :height 0.5) | 1418 | :face '(variable-pitch (:height 0.5)) |
| 1418 | emacs-copyright | 1419 | emacs-copyright |
| 1419 | "\n") | 1420 | "\n") |
| 1420 | (and auto-save-list-file-prefix | 1421 | (and auto-save-list-file-prefix |
| @@ -1430,12 +1431,12 @@ a face or button specification." | |||
| 1430 | (regexp-quote (file-name-nondirectory | 1431 | (regexp-quote (file-name-nondirectory |
| 1431 | auto-save-list-file-prefix))) | 1432 | auto-save-list-file-prefix))) |
| 1432 | t) | 1433 | t) |
| 1433 | (fancy-splash-insert :face '(variable-pitch :foreground "red") | 1434 | (fancy-splash-insert :face '(variable-pitch (:foreground "red")) |
| 1434 | "\nIf an Emacs session crashed recently, " | 1435 | "\nIf an Emacs session crashed recently, " |
| 1435 | "type " | 1436 | "type " |
| 1436 | :face '(fixed-pitch :foreground "red") | 1437 | :face '(fixed-pitch :foreground "red") |
| 1437 | "Meta-x recover-session RET" | 1438 | "Meta-x recover-session RET" |
| 1438 | :face '(variable-pitch :foreground "red") | 1439 | :face '(variable-pitch (:foreground "red")) |
| 1439 | "\nto recover" | 1440 | "\nto recover" |
| 1440 | " the files you were editing.")) | 1441 | " the files you were editing.")) |
| 1441 | 1442 | ||
| @@ -1470,7 +1471,7 @@ a face or button specification." | |||
| 1470 | (overlay-put button 'checked t) | 1471 | (overlay-put button 'checked t) |
| 1471 | (overlay-put button 'display (overlay-get button :on-glyph)) | 1472 | (overlay-put button 'display (overlay-get button :on-glyph)) |
| 1472 | (setq startup-screen-inhibit-startup-screen t))))) | 1473 | (setq startup-screen-inhibit-startup-screen t))))) |
| 1473 | (fancy-splash-insert :face '(variable-pitch :height 0.9) | 1474 | (fancy-splash-insert :face '(variable-pitch (:height 0.9)) |
| 1474 | " Never show it again."))))) | 1475 | " Never show it again."))))) |
| 1475 | 1476 | ||
| 1476 | (defun exit-splash-screen () | 1477 | (defun exit-splash-screen () |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 82d11c47e8e..104e79acb4b 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -336,12 +336,17 @@ Always stores Fcc copy of message when nil." | |||
| 336 | :group 'ispell) | 336 | :group 'ispell) |
| 337 | 337 | ||
| 338 | 338 | ||
| 339 | (defcustom ispell-grep-command "egrep" | 339 | (defcustom ispell-grep-command |
| 340 | ;; MS-Windows/MS-DOS have `egrep' as a Unix shell script, so they | ||
| 341 | ;; cannot invoke it. Use "grep -E" instead (see ispell-grep-options | ||
| 342 | ;; below). | ||
| 343 | (if (memq system-type '(windows-nt ms-dos)) "grep" "egrep") | ||
| 340 | "Name of the grep command for search processes." | 344 | "Name of the grep command for search processes." |
| 341 | :type 'string | 345 | :type 'string |
| 342 | :group 'ispell) | 346 | :group 'ispell) |
| 343 | 347 | ||
| 344 | (defcustom ispell-grep-options "-i" | 348 | (defcustom ispell-grep-options |
| 349 | (if (memq system-type '(windows-nt ms-dos)) "-Ei" "-i") | ||
| 345 | "String of options to use when running the program in `ispell-grep-command'. | 350 | "String of options to use when running the program in `ispell-grep-command'. |
| 346 | Should probably be \"-i\" or \"-e\". | 351 | Should probably be \"-i\" or \"-e\". |
| 347 | Some machines (like the NeXT) don't support \"-i\"" | 352 | Some machines (like the NeXT) don't support \"-i\"" |