* lisp/gnus/gnus-sum.el (gnus-extra-headers): Bump :version.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c2fb1b60
JB
12011-04-22 Juanma Barranquero <lekktu@gmail.com>
2
3 * eshell/esh-mode.el (find-tag-interactive): Declare function.
4 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
5 Pass argument NO-DEFAULT to `find-tag-interactive'.
6
e02f48d7
JB
72011-04-22 Juanma Barranquero <lekktu@gmail.com>
8
9 Lexical-binding cleanup.
10
11 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13 * progmodes/ada-prj.el (ada-prj-initialize-values)
14 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15 (ada-prj-show-value):
16 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20 * progmodes/bug-reference.el (bug-reference-push-button):
21 * progmodes/fortran.el (fortran-line-length):
22 * progmodes/glasses.el (glasses-change):
23 * progmodes/octave-mod.el (octave-fill-paragraph):
24 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25 (python-pdbtrack-grub-for-buffer, python-sentinel):
26 * progmodes/sql.el (sql-save-connection):
27 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
28 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
29 Mark unused parameters.
30
31 * progmodes/compile.el (compilation--flush-directory-cache)
32 (compilation--flush-parse, compile-internal): Mark unused parameters.
33 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
34 (compilation-next-error-function): Remove unused variable `timestamp'.
35
36 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
37 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
38
39 * progmodes/dcl-mode.el (dcl-end-of-command):
40 Remove unused variable `start'.
41 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
42 (dcl-option-value-basic, dcl-option-value-offset)
43 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
44 Mark unused parameters.
45 (dcl-save-local-variable): Remove unused variable `val'.
46 (mode): Declare.
47
48 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
49 Mark unused parameters.
50 (delphi-ignore-changes): Move before first use.
51 (delphi-charset-token-at): Remove unused variable `start'.
52 (delphi-else-start): Remove unused variable `if-count'.
53 (delphi-comment-block-start, delphi-comment-block-end):
54 Remove unused variable `kind'.
55 (delphi-indent-line): Remove unused variable `new-point'.
56
57 * progmodes/ebrowse.el (ebrowse-files-list)
58 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
59 Mark unused parameters. Don't quote `lambda'.
60 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
61 Don't quote `lambda'.
62 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
63 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
64 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
65 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
66 Use `ignore-errors'.
67 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
68 (ebrowse-view/find-file-and-search-pattern)
69 (ebrowse-view/find-member-declaration/definition):
70 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
71 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
72 Rename parameter PREFIX-ARG to PREFIX.
73 (ebrowse-tags-read-name): Remove unused variables `start' and
74 `member-info'.
75 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
76 to `tags-file'.
77
78 * progmodes/etags.el (local-find-tag-hook): Declare.
79 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
80 Mark unused parameters.
81
82 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
83 (executable-interpret): Mark unused parameter.
84
85 * progmodes/flymake.el (flymake-process-sentinel)
86 (flymake-after-change-function)
87 (flymake-create-temp-with-folder-structure)
88 (flymake-get-include-dirs-dot): Mark unused parameters.
89 (flymake-safe-delete-directory): Remove unused variable `err'.
90
91 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
92 (speedbar-timer-fn, speedbar-line-text)
93 (speedbar-change-expand-button-char, speedbar-delete-subblock)
94 (speedbar-center-buffer-smartly): Declare functions.
95 (gdb-find-watch-expression): Remove unused variable `array'.
96 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
97 (gdb-starting): Mark unused parameters.
98 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
99 (gdb-table-string): Remove unused variable `res'.
100 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
101 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
102 (gdb-display-buffer): Remove unused variable `cur-size'.
103
104 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
105 allow lexical-binding compilation.
106 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
107 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
108 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
109 Mark unused parameters.
110 (gud-gdb-marker-filter): Remove unused variable `match'.
111 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
112 lambda expressions and funcall them, instead of using `fset'.
113
114 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
115 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
116
117 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
118 variable `header-beg'; use `let'.
119
120 * progmodes/icon.el (indent-icon-exp): Remove unused variables
121 `restart', `last-sexp' and `at-do'.
122
123 * progmodes/js.el (js--debug): Mark unused parameter.
124 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
125 (js--splice-into-items): Remove unused variable `item'.
126 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
127
128 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
129 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
130 (makefile-complete): Remove unused variable `try'.
131 (makefile-fill-paragraph, makefile-match-function-end):
132 Mark unused parameters.
133
134 * progmodes/octave-inf.el (inferior-octave-complete):
135 Remove unused variable `proc'.
136 (inferior-octave-output-digest): Mark unused parameter.
137
138 * progmodes/perl-mode.el (perl-calculate-indent):
139 Remove unused variable `err'.
140
141 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
142 (prolog-indent-line): Mark unused parameters.
143 (prolog-indent-line): Remove unused variable `beg'.
144
145 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
146 (reporter-dont-compact-list): Declare.
147
148 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
149 Remove unused variable `char'.
150 (sh-debug): Mark unused parameter.
151 (sh-get-indent-info): Remove unused variable `start'.
152 (sh-calculate-indent): Remove unused variable `var'.
153
154 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
155 (simula-electric-keyword): Remove unused variable `null'.
156 (simula-search-backward, simula-search-forward): Remove unused
157 variables `begin' and `end'.
158
159 * progmodes/vera-mode.el (vera-guess-basic-syntax):
160 Remove unused variable `pos'.
161 (vera-electric-tab, vera-comment-uncomment-region):
162 Mark unused parameters.
163 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
164
7ede3b65
CY
1652011-04-22 Chong Yidong <cyd@stupidchicken.com>
166
167 * emacs-lisp/package.el (package--builtins, package-alist)
168 (package-load-descriptor, package-built-in-p, package-activate)
169 (define-package, package-installed-p)
170 (package-compute-transaction, package-buffer-info)
171 (package--push): Doc fix. Distinguish more clearly between
172 version strings and version lists.
173
121656e9
JB
1742011-04-21 Juanma Barranquero <lekktu@gmail.com>
175
176 Lexical-binding cleanup.
177
178 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
179 (5x5-make-mutate-best):
180 * play/fortune.el (fortune-in-buffer):
181 * play/gomoku.el (gomoku-init-display):
182 * play/solitaire.el (solitaire, solitaire-do-check):
183 * play/tetris.el (tetris-default-update-speed-function):
184 Mark unused parameters.
185
186 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
187 (bubbles--shift): Remove unused variable `char-org'.
188 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
189 (bubbles--show-images): Remove unused variable `char'.
190
191 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
192 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
193 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
194 (decipher-analyze-buffer): Use ?\s.
195 (decipher-make-checkpoint): Remove unused variable `mapping'.
196
197 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
198
199 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
200 Remove unused variable `result'; use `let'.
201
202 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
203 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
204 (gametree-children-shown-p, gametree-compute-reduced-score):
205 Use `ignore-errors'.
206
207 * play/handwrite.el (ps-lpr-switches): Declare.
208 (handwrite): Remove unused variables `pmin' and `lastp'.
209
210 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
211
212 * play/landmark.el (landmark-init-display)
213 (landmark-update-naught-weights): Mark unused parameters.
214 (landmark-y): Remove unused variable `noise'. Simplify.
215 (landmark-human-plays): Remove unused variable `score'.
216
217 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
218 (mpuz-try-proposal): Remove unused variable `game'.
219
220 * play/zone.el (life-patterns): Declare.
221
80f499c7
JB
2222011-04-20 Juanma Barranquero <lekktu@gmail.com>
223
224 * vc/vc.el (ediff-vc-internal): Declare function.
225
024ff170
SM
2262011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
227
c0a193ea
SM
228 * shell.el: Use lexical-binding and std completion UI.
229 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
230 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
231 comint-preoutput-filter-functions rather than on
232 comint-output-filter-functions.
233 (shell-command-completion, shell--command-completion-data)
234 (shell-filename-completion, shell-environment-variable-completion)
235 (shell-c-a-p-replace-by-expanded-directory): New functions.
236 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
237 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
238 (shell-dynamic-complete-environment-variable): Use them.
239 (shell-dynamic-complete-as-environment-variable)
240 (shell-dynamic-complete-as-command): Remove.
241 (shell-match-partial-variable): Match past point.
242 * comint.el: Clean up use of completion-at-point-functions.
243 (comint-completion-at-point): New function.
244 (comint-mode): Use it completion-at-point-functions.
245 (comint-dynamic-complete): Make it obsolete.
246 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
247 (comint-c-a-p-replace-by-expanded-history): New function.
248 (comint-dynamic-complete-functions)
249 (comint-replace-by-expanded-history): Use it.
250 * minibuffer.el (completion-table-with-terminator): Allow dynamic
251 termination strings. Try harder to avoid second try-completion.
252 (completion-in-region-mode-map): Disable bindings that don't work yet.
253
2dbaa080
SM
254 * comint.el: Use lexical-binding. Require CL.
255 (comint-dynamic-complete-functions): Use comint-filename-completion.
256 (comint-completion-addsuffix): Tweak custom type.
257 (comint-filename-completion, comint--common-suffix)
258 (comint--common-quoted-suffix, comint--table-subvert)
259 (comint--complete-file-name-data): New functions.
260 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
261 (comint-dynamic-list-filename-completions): Use them.
262 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 263
2dbaa080
SM
264 * minibuffer.el (completion-in-region-mode):
265 Keep completion-in-region-mode--predicate global.
266 (completion-in-region--postch):
267 Assume completion-in-region-mode--predicate is not null.
268
c79a6f38
SM
269 * progmodes/flymake.el (flymake-start-syntax-check-process):
270 Obey `dir'. Simplify.
271
024ff170
SM
272 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
273 we're in VC after all.
274
1c6c854e
CS
2752011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
276
277 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 278 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
279 (vc-version-diff): Use vc-diff-build-argument-list-internal.
280
bed7f140
SM
2812011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
282
332e62ab
SM
283 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
284 add sanity check.
285
bed7f140
SM
286 * obsolete/erc-hecomplete.el: Make obsolete.
287 * obsolete/: Standardize obsolescence info in the header.
288
f195c582
GM
2892011-04-20 Glenn Morris <rgm@gnu.org>
290
291 * calendar/solar.el (solar-horizontal-coordinates):
292 Use the longitude argument rather than `calendar-longitude'.
293 (solar-date-next-longitude): Remove unused locals.
294
602ea69d
SM
2952011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
298 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
299 multi-line comments as well.
300
06b60517
JB
3012011-04-19 Juanma Barranquero <lekktu@gmail.com>
302
303 Lexical-binding cleanup.
304
305 * arc-mode.el (archive-mode-revert):
306 * cmuscheme.el (scheme-interactively-start-process):
307 * custom.el (custom-initialize-delay):
308 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
309 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
310 * emacs-lock.el (emacs-lock-clear-sentinel):
311 * ezimage.el (defezimage):
312 * follow.el (follow-avoid-tail-recenter):
313 * fringe.el (set-fringe-mode-1):
314 * generic-x.el (bat-generic-mode-compile):
315 * help-mode.el (help-info-variable, help-do-xref)
316 (help-mode-revert-buffer):
317 * help.el (view-emacs-todo):
318 * iswitchb.el (iswitchb-completion-help):
319 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
320 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
321 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
322 * locate.el (locate-update):
323 * longlines.el (longlines-encode-region)
324 (longlines-after-change-function):
325 * outline.el (outline-isearch-open-invisible):
326 * ps-def.el (declare-function, charset-dimension, char-width)
327 (encode-char):
328 * ps-mule.el (ps-mule-plot-string):
329 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
330 (recentf-edit-list-select, recentf-edit-list-validate)
331 (recentf-open-files-action):
332 * rect.el (delete-whitespace-rectangle-line)
333 (rectangle-number-line-callback):
334 * register.el (window-configuration-to-register)
335 (frame-configuration-to-register):
336 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
337 * select.el (xselect-convert-to-string, xselect-convert-to-length)
338 (xselect-convert-to-targets, xselect-convert-to-delete)
339 (xselect-convert-to-filename, xselect-convert-to-charpos)
340 (xselect-convert-to-lineno, xselect-convert-to-colno)
341 (xselect-convert-to-os, xselect-convert-to-host)
342 (xselect-convert-to-user, xselect-convert-to-class)
343 (xselect-convert-to-name, xselect-convert-to-integer)
344 (xselect-convert-to-atom, xselect-convert-to-identity):
345 * subr.el (declare, ignore, process-kill-without-query)
346 (text-clone-maintain):
347 * terminal.el (te-get-char, te-tic-sentinel):
348 * tool-bar.el (tool-bar-make-keymap):
349 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
350 * type-break.el (type-break-mode, type-break-noninteractive-query):
351 * view.el (View-back-to-mark):
352 * wid-browse.el (widget-browse-action, widget-browse-widget)
353 (widget-browse-widgets, widget-browse-sexp):
354 * widget.el (define-widget-keywords):
355 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
356 Mark unused parameters.
357
358 * align.el (align-adjust-col-for-rule): Mark unused parameter.
359 (align-areas): Remove unused variable `look'.
360 (align-region): Remove unused variables `real-end' and `pos-list'.
361
362 * apropos.el (apropos-score-doc): Remove unused variable `i'.
363
364 * bindings.el (mode-line-modified, mode-line-remote):
365 Mark unused parameters.
366 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
367
368 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
369 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
370
371 * comint.el (comint-history-isearch-pop-state)
372 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
373 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
374 (comint-substitute-in-file-name): Doc fix.
375
376 * completion.el (cmpl-statistics-block): Mark unused parameter.
377 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
378 (save-completions-to-file, load-completions-from-file):
379 Remove unused local variable `e'.
380
381 * composite.el (compose-chars): Remove unused variable `len'.
382 (lgstring-insert-glyph): Remove unused variable `g'.
383 (compose-glyph-string): Remove unused variables `ascent',
384 `descent', `lbearing' and `rbearing'.
385 (compose-glyph-string-relative): Remove unused variables
386 `lbearing', `rbearing' and `wadjust'.
387 (compose-gstring-for-graphic): Remove unused variables `header',
388 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
389 (compose-gstring-for-terminal): Remove unused variables `header'
390 and `nchars'. Use `let', not `let*'.
391
392 * cus-edit.el (Custom-set, Custom-save, custom-reset)
393 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
394 (Custom-buffer-done, custom-buffer-create-internal)
395 (custom-browse-visibility-action, custom-browse-group-tag-action)
396 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
397 (widget-magic-mouse-down-action, custom-toggle-parent)
398 (custom-add-parent-links, custom-toggle-hide-variable)
399 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
400 (custom-toggle-hide-face, face, hook, custom-group-link-action)
401 (custom-face-menu-create, custom-variable-menu-create, get)
402 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
403 (custom-reset-standard-save-and-update): Remove unused variable `value'.
404 (customize-apropos): Remove unused variable `tests'.
405 (custom-group-value-create): Remove unused variable `hidden-p'.
406 (sort-fold-case): Declare.
407
408 * cus-theme.el (custom-reset-standard-faces-list)
409 (custom-reset-standard-variables-list): Declare.
410 (customize-create-theme, custom-theme-revert, custom-theme-write)
411 (custom-theme-choose-mode, customize-themes, custom-theme-save):
412 Mark unused parameters.
413
414 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
415
416 * delim-col.el (delimit-columns-max): Move defvar before first use.
417
418 * descr-text.el (describe-char-categories): Don't quote `lambda'.
419 (describe-char): Don't quote `lambda'. Mark unused parameter.
420
421 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
422 (auto-insert): Declare.
423 (desktop-restore-file-buffer): Rename desktop-* parameters;
424 mark unused ones.
425 (desktop-create-buffer): Rename desktop-* parameters and bind them.
426 (desktop-buffer): Rename desktop-* parameters.
427
428 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
429 (dframe-reposition-frame-xemacs, dframe-help-echo)
430 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
431 Mark unused parameters.
432
433 * dired-aux.el (backup-extract-version-start, overwrite-query)
434 (overwrite-backup-query, rename-regexp-query)
435 (rename-non-directory-query): Declare.
436 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
437 (dired-add-entry): Remove unused variable `orig-file-name'.
438 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
439 Use parameter PRESERVE-TIME instead of accessing dynamic variable
440 `dired-copy-preserve-time' directly.
441 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
442 (dired-insert-subdir-newpos): Rename unused variable `pos'.
443
444 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
445 (dired-virtual-revert, dired-make-relative-symlink):
446 Mark unused parameters.
447 (manual-program): Declare.
448 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
449 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
450 wrapped in `with-no-warnings' to avoid replacing one warning by another.
451
452 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
453
454 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
455
456 * echistory.el (electric-history-in-progress, Helper-return-blurb):
457 Declare.
458
459 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
460
461 * electric.el (Electric-command-loop): Rename parameter
462 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
463
464 * expand.el (expand-in-literal): Remove unused variable `here'.
465
466 * facemenu.el (facemenu-add-new-color):
467 Remove unused variable `docstring'.
468
469 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
470 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
471 (face-attr-construct): Mark unused parameter. Doc fix.
472 (read-color): Remove unused variable `hex-string'.
473
474 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
475 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
476 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
477 (display-buffer-other-frame): Remove unused variable `old-window'.
478 (kill-buffer-hook): Declare.
479 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
480 Mark unused parameters.
481 (after-find-file): Pass 1 to `auto-save-mode', not t.
482
483 * files-x.el (auto-insert): Declare.
484 (modify-file-local-variable-prop-line): Remove unused variable `val'.
485
486 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
487 variable `buf'. Mark unused parameter.
488 (find-lisp-insert-directory): Mark unused parameter.
489
490 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
491 (format-encode-region): Remove unused variables `cur-buf' and `result'.
492 (format-common-tail): Remove, unused.
493 (format-deannotate-region): Remove unused variable `loc'.
494 (format-annotate-region): Remove unused variable `p'.
495 (format-annotate-single-property-change): Remove unused variables
496 `default' and `tail'.
497
498 * forms.el (read-file-filter): Declare.
499 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
500
501 * frame.el (frame-creation-function-alist): Mark unused parameter.
502 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
503
504 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
505 Remove unused parameters.
506 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
507 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
508
509 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
510 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
511 (hfy-prepare-tag-map): Mark unused parameters.
512 (htmlfontify-buffer): Use `called-interactively-p'.
513
514 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
515 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
516 (ibuffer-do-occur): Mark unused parameters.
517 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
518 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
519
520 * ibuffer.el: Don't quote `lambda'.
521 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
522 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
523 Mark unused parameters.
524
525 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
526 (ido-completing-read): Mark unused parameters.
527 (ido-copy-current-word): Mark unused parameters;
528 remove unused variable `name'.
529 (ido-sort-merged-list): Remove unused parameter `dirs'.
530
531 * ielm.el (ielm-input-sender): Mark unused parameter.
532 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
533 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
534 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
535 `ielm-string' as a dynamic variable accessible from the IELM prompt.
536 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
537
538 * image-dired.el (image-dired-display-thumbs): Remove unused
539 variables `curr-file' and `count'.
540 (image-dired-remove-tag): Remove unused variable `start'.
541 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
542 variable `curr-file'
543 (image-dired-rotate-original): Remove unused variable `temp-file'.
544 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
545 Remove unused variable `file'.
546 (image-dired-gallery-generate): Remove unused variable `curr'.
547 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
548
549 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
550
551 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
552
553 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
554
555 * isearch.el (minibuffer-history-symbol): Declare.
556 (isearch-edit-string): Remove unused variable `err'.
557 (isearch-message-prefix, isearch-message-suffix):
558 Mark unused parameters.
559
560 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
561
562 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
563
564 * makesum.el (double-column): Remove unused variable `cnt'.
565
566 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
567 (ido-ignore-item-temp-list): Declare.
568
569 * mouse-drag.el (mouse-drag-throw): Remove unused variables
570 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
571 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
572 (mouse-drag-drag): Remove unused variables `mouse-delta' and
573 `mouse-col-delta'.
574
575 * mouse-sel.el (mouse-extend-internal):
576 Remove unused variable `orig-window-frame'.
577
578 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
579 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
580 Move declarations before first use.
581 (pcomplete-opt): Mark unused parameters; doc fix.
582
583 * proced.el (proced-revert): Mark unused parameter.
584 (proced-send-signal): Remove unused variable `err'.
585
586 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
587 Rename parameter PREFIX-ARG to ARG.
588 (ps-basic-plot-string, ps-basic-plot-whitespace):
589 Mark unused parameters.
590
591 * replace.el (replace-count): Define.
592 (occur-revert-function): Mark unused parameters.
593 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
594 (isearch-case-fold-search, isearch-string): Declare.
595 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
596 bind `case-fold-search'. Remove unused variables `beg' and `end',
597 and simplify.
598 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
599 COUNT and bind `replace-count'.
600 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
601 to COUNT.
602
603 * savehist.el (print-readably, print-string-length): Declare.
604
605 * shadowfile.el (shadow-expand-cluster-in-file-name):
606 Remove unused variable `cluster'.
607 (shadow-copy-file): Remove unused variable `i'.
608 (shadow-noquery, shadow-clusters, shadow-site-cluster)
609 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
610 (shadow-define-literal-group, shadow-define-regexp-group)
611 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
612
613 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
614 (shell): Use `called-interactively-p'.
615 (shell-directory-tracker): Remove unused variable `chdir-failure'.
616
617 * simple.el (compilation-context-lines, comint-file-name-quote-list)
618 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
619 (delete-backward-char): Remove unused variable `ocol'.
620 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
621 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
622 (event-apply-hyper-modifier, event-apply-shift-modifier)
623 (event-apply-control-modifier, event-apply-meta-modifier):
624 Mark unused parameters.
625 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
626 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
627
628 * speedbar.el (speedbar-ignored-directory-expressions)
629 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
630 (speedbar-find-file, speedbar-dir-follow)
631 (speedbar-directory-buttons-follow, speedbar-tag-find)
632 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
633 (speedbar-buffers-line-directory, speedbar-buffer-click):
634 Mark unused parameters.
635 (speedbar-tag-file): Remove unused variable `mode'.
636 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
637
638 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
639
640 * talk.el (talk): Remove unused variable `display'.
641
642 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
643 (tar-write-region-annotate): Mark unused parameter.
644
645 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
646 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
647 Declare them, wrapped in `with-no-warnings' to avoid replacing one
648 warning by another.
649
650 * time-stamp.el (time-stamp-string-preprocess):
651 Remove unused variable `require-padding'.
652
653 * tree-widget.el (widget-glyph-enable): Declare.
654 (tree-widget-action): Mark unused parameter.
655
656 * w32-fns.el (x-get-selection): Mark unused parameter.
657 (autoload-make-program, generated-autoload-file): Declare.
658
659 * wdired.el (wdired-revert): Mark unused parameters.
660 (wdired-xcase-word): Remove unused variable `err'.
661
662 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
663 (whitespace-help-scroll): Remove unused variable `data-help'.
664
665 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
666 (widget-image-insert, widget-after-change, default)
667 (widget-default-format-handler, widget-default-notify)
668 (widget-default-prompt-value, widget-info-link-action)
669 (widget-url-link-action, widget-function-link-action)
670 (widget-variable-link-action, widget-file-link-action)
671 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
672 (widget-field-prompt-internal, widget-field-action, widget-field-match)
673 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
674 (widget-insert-button-action, widget-delete-button-action, visibility)
675 (widget-documentation-link-action, widget-documentation-string-action)
676 (widget-const-prompt-value, widget-regexp-match, symbol)
677 (widget-coding-system-prompt-value)
678 (widget-key-sequence-value-to-external, sexp)
679 (widget-sexp-value-to-internal, character, vector, cons)
680 (widget-choice-prompt-value, widget-boolean-prompt-value)
681 (widget-color--choose-action): Mark unused parameters.
682 (widget-item-match-inline, widget-choice-match-inline)
683 (widget-checklist-match, widget-checklist-match-inline)
684 (widget-group-match): Rename parameter VALUES to VALS.
685 (widget-field-value-set): Remove unused variable `size'.
686 (widget-color-action): Remove unused variables `value' and `start'.
687
688 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
689 variable `dir'. Doc fix.
690 (windmove-find-other-window): Don't pass it.
691
692 * window.el (count-windows): Mark unused parameter.
693 (bw-adjust-window): Remove unused variable `err'.
694
695 * woman.el (woman-file-name): Remove unused variable `default'.
696 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
697 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
698 (global-font-lock-mode): Declare.
699 (woman-decode-region): Mark unused parameter.
700 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
701
702 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
703 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
704 (x-dnd-handle-moz-url): Remove unused variable `title'.
705 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
706
707 * xml.el (xml-parse-tag, xml-parse-attlist):
708 Remove unused variable `pos'.
709
bc4f7f3d
GM
7102011-04-19 Glenn Morris <rgm@gnu.org>
711
712 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
713 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
714 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
715 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
716 * calendar/cal-html.el (cal-html-insert-minical):
717 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
718 (calendar-mark-date-pattern):
719 Prefix "unused" locals.
720
721 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
722 optional argument `style'.
723
724 * calendar/appt.el (appt-make-list):
725 * calendar/cal-china.el (calendar-chinese-date-string):
726 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
727 (diary-hebrew-yahrzeit):
728 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
729 * calendar/calendar.el (calendar-generate-window):
730 * calendar/time-date.el (time-to-days):
731 Remove unused local variables.
732
16a43933
CY
7332011-04-18 Chong Yidong <cyd@stupidchicken.com>
734
735 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
736 glyphless-char-display table.
737 (tabulated-list-glyphless-char-display): New var.
738
7eed1860
SS
7392011-04-18 Sam Steingold <sds@gnu.org>
740
741 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
742 to acknowledgments.
743
4d2d1ccd
GM
7442011-04-17 Glenn Morris <rgm@gnu.org>
745
746 * calendar/diary-lib.el (diary-sexp-entry):
747 * calendar/holidays.el (holiday-sexp):
748 Set debug-on-error rather than the removed stack-trace-on-error.
749
239da61d
GM
7502011-04-16 Glenn Morris <rgm@gnu.org>
751
752 * progmodes/f90.el: Use lexical-binding.
753 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
754
8b05752a
SM
7552011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
756
daca8ba5
SM
757 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
758 (mail-mode): Setup mailalias completion here instead.
759 * mail/mailalias.el: Use lexical-binding.
760 (pattern, mailalias-done): Declare dynamic.
761 (mail-completion-at-point-function): New function, from mail-complete.
762 (mail-complete): Use it.
763 (mail-completion-expand): New function.
764 (mail-get-names): Use it.
765 (mail-directory, mail-directory-process, mail-directory-stream):
766 Don't use `pattern' for lexically bound arg.
767
6f542485
SM
768 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
769
037e7c3f
SM
770 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
771 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
772 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
773
8b05752a
SM
774 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
775 (byte-save-window-excursion, byte-temp-output-buffer-setup)
776 (byte-interactive-p): Define them again, for use when inlining
777 old code.
778
49093f60
JB
7792011-04-15 Juanma Barranquero <lekktu@gmail.com>
780
781 * loadup.el: Use `string-to-number', not `string-to-int'.
782
b5b8e7de
SM
7832011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
786 gud-gdb-complete-command.
787 (gud-gdb-completions): New function, from gud-gdb-complete-command.
788 (gud-gdb-completion-at-point): New function.
789 (gud-gdb-completions): Remove.
790
f42efeb5
MA
7912011-04-14 Michael Albinus <michael.albinus@gmx.de>
792
49093f60
JB
793 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
794 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
795 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
796 whether `executable-find' is bound.
f42efeb5
MA
797
798 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
799
e240cc21
SM
8002011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * minibuffer.el (completion-in-region-mode-predicate)
803 (completion-in-region-mode--predicate): New vars.
804 (completion-in-region, completion-in-region--postch)
805 (completion-in-region-mode): Use them.
806 (completion--capf-wrapper): Also return the hook function.
807 (completion-at-point, completion-help-at-point):
808 Adjust and provide a predicate.
c2bd2ab0
SM
809
810 Preserve arg names for advice of subr and lexical functions (bug#8457).
811 * help-fns.el (help-function-arglist): Consolidate the subr and
812 new-byte-code cases. Add argument `preserve-names' to extract names
813 from the docstring when needed.
814 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
815 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
816 (ad-arglist): Use help-function-arglist's new arg.
817 (ad-definition-type): Use cond.
818
c183f693
JB
8192011-04-13 Juanma Barranquero <lekktu@gmail.com>
820
06641a47
JB
821 * autorevert.el (auto-revert-handler):
822 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
823 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
824 Don't quote lambda.
825
c183f693
JB
826 * image-mode.el (image-transform-set-scale):
827 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
828
1e3b6001
G
8292011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
830
831 * net/network-stream.el (network-stream-open-starttls): Only do
832 opportunistic STARTTLS upgrades if we have built-in gnutls support.
833 Upgrades via gnutls-cli are too slow to be done opportunistically.
834
2d6af8dd
JB
8352011-04-12 Juanma Barranquero <lekktu@gmail.com>
836
837 * dframe.el (dframe-current-frame): Remove spurious quote.
838
c0749a51
GM
8392011-04-12 Glenn Morris <rgm@gnu.org>
840
088d0d61
GM
841 * calendar/cal-tex.el (cal-tex-end-document):
842 Try to automatically use latin1 input if needed.
843
c0749a51
GM
844 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
845 Don't try to cons a mark onto an empty element.
846
5c90fde0
LL
8472011-04-11 Leo Liu <sdl.web@gmail.com>
848
849 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
850 buffers.
851 (ido-kill-buffer-at-head): Support killing virtual buffers.
852
369e974d
CY
8532011-04-10 Chong Yidong <cyd@stupidchicken.com>
854
855 * minibuffer.el (completion-show-inline-help): New var.
856 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
857 (minibuffer-force-complete, minibuffer-complete-word):
858 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
859
860 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
861 to avoid interference from inline help (Bug#5849).
862
37f1c930
LL
8632011-04-10 Leo Liu <sdl.web@gmail.com>
864
099c39a4
JB
865 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
866 Fix typo.
37f1c930 867
a32d4040
CY
8682011-04-09 Chong Yidong <cyd@stupidchicken.com>
869
870 * image-mode.el (image-toggle-display-image): Signal an error if
871 not in Image mode.
872 (image-transform-mode, image-transform-resize)
873 (image-transform-set-rotation): Doc fix.
daca8ba5 874 (image-transform-set-resize): Delete.
a32d4040
CY
875 (image-transform-set-scale, image-transform-fit-to-height)
876 (image-transform-fit-to-width): Handle image-toggle-display-image
877 and image-transform-resize directly.
878
099c39a4 8792011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
880
881 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
882 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
883 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
884 (doc-view-mode-map): Add bindings for the new functions.
885
099c39a4 8862011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
887
888 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
889 Fix typo in docstring.
890
3726838a
EZ
8912011-04-08 Eli Zaretskii <eliz@gnu.org>
892
04f33f1e
EZ
893 * files.el (file-size-human-readable): Produce one digit after
894 decimal, like "ls -lh" does.
895
896 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
897 the file size representation.
898
3726838a
EZ
899 * simple.el (list-processes): If async subprocesses are not
900 available, error out with a clear error message.
901
cbb59342
CY
9022011-04-08 Chong Yidong <cyd@stupidchicken.com>
903
904 * help.el (help-form-show): New function, to be called from C.
905 Put help-form output in a buffer named differently than *Help*.
906
e3971c44
EZ
9072011-04-08 Eli Zaretskii <eliz@gnu.org>
908
909 * files.el (file-size-human-readable): New function.
910
911 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
912 computing the representation inline. Don't require `cl'.
913
12544bbe
GM
9142011-04-08 Glenn Morris <rgm@gnu.org>
915
a1de6c6a
GM
916 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
917
3c4671f4
GM
918 * net/browse-url.el (browse-url-firefox):
919 Test system-type, not system-configuration.
920
b605679c
GM
921 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
922 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
923 Use log-edit-empty-buffer-p. (Bug#7598)
924
56442f0c
GM
925 * net/rlogin.el (rlogin-process-connection-type): Simplify.
926 (rlogin-mode-map): Initialize in the defvar.
927 (rlogin): Use ignore-errors.
928
12544bbe
GM
929 * replace.el (occur-mode-map): Some fixes for menu items.
930
eb237b0f
AH
9312011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
932
933 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
934
7d668f2c
CY
9352011-04-06 Chong Yidong <cyd@stupidchicken.com>
936
e67a13ab
CY
937 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
938 issuing unused warnings.
939
940 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
941 macro directly.
942
7d668f2c
CY
943 * simple.el: Lisp reimplement of list-processes. Based on an
944 earlier reimplementation by Leo Liu, but using tabulated-list.el.
945 (process-menu-mode): New major mode.
946 (list-processes--refresh, list-processes):
947 (process-menu-visit-buffer): New functions.
948
949 * files.el (save-buffers-kill-emacs): Don't assume any return
950 value of list-processes, which is undocumented anyway.
951
a83ec3c9
CY
9522011-04-06 Chong Yidong <cyd@stupidchicken.com>
953
954 * emacs-lisp/tabulated-list.el: New file.
955
e91a96fe
CY
956 * emacs-lisp/package.el: Use Tabulated List mode.
957 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
958 (package-menu-mode): Derive from tabulated-list-mode. Set up the
959 table format using Tabulated List mode variables.
960 (package--push): New macro, replacing package-list-maybe-add.
961 (package-menu--generate): Use package--push. Renamed from
962 package--generate-package-list.
963 (package-menu-refresh, list-packages): Use it.
daca8ba5 964 (package-menu--print-info): Rename from package-print-package.
e91a96fe 965 Return insertion data instead of inserting it directly.
099c39a4
JB
966 (package-menu-describe-package, package-menu-execute):
967 Use tabulated-list-get-id.
e91a96fe
CY
968 (package-menu-mark-delete, package-menu-mark-install)
969 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
970 (package-menu-mark-obsolete-for-deletion):
971 Use tabulated-list-put-tag.
e91a96fe
CY
972 (package--list-packages, package-menu-revert)
973 (package-menu-get-package, package-menu-get-version)
974 (package-menu-sort-by-column): Functions deleted.
975 (package-menu-package-list, package-menu-sort-key): Vars deleted.
976 (package-menu--status-predicate, package-menu--version-predicate)
977 (package-menu--name-predicate)
978 (package-menu--description-predicate): Handle arguments in the
979 Tabulated List format.
980 (package-list-packages-no-fetch): Call list-packages.
981
3e214b50
JB
9822011-04-06 Juanma Barranquero <lekktu@gmail.com>
983
984 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 985 (after-find-file): Don't bind it.
3e214b50
JB
986 (revert-buffer-in-progress-p): New variable.
987 (revert-buffer): Bind it.
988 Pass nil for `after-find-file-from-revert-buffer'.
989
990 * saveplace.el (save-place-find-file-hook): Use new variable
991 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
992
3f0f1700
GM
9932011-04-06 Glenn Morris <rgm@gnu.org>
994
c0274801
GM
995 * Makefile.in (AUTOGEN_VCS): New variable.
996 (autoloads): Use $AUTOGEN_VCS.
997
3f0f1700
GM
998 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
999 * calendar/calendar.el (calendar-mode-map):
1000 Check for toolkit scroll bars. (Bug#8305)
1001
41ea9e48
CY
10022011-04-05 Chong Yidong <cyd@stupidchicken.com>
1003
1004 * minibuffer.el (completion-in-region--postch)
1005 (completion-in-region-mode): Remove unnecessary messages.
1006
6194c800
JB
10072011-04-05 Juanma Barranquero <lekktu@gmail.com>
1008
33256f14
JB
1009 * font-lock.el (font-lock-refresh-defaults):
1010 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1011 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1012
6194c800
JB
1013 * info.el (Info-directory-list, Info-read-node-name-2)
1014 (Info-split-parameter-string): Doc fixes.
1015 (Info-virtual-nodes): Reflow docstring.
1016 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1017 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1018 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1019 Fix typos in docstrings.
1020 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1021 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1022 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1023 (Info-restore-desktop-buffer): Mark unused parameters.
1024 (Info-directory-find-file, Info-directory-find-node)
1025 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1026 (Info-virtual-index-find-node, Info-apropos-find-file)
1027 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 1028 Mark unused parameters; fix typos in docstrings.
6194c800
JB
1029 (Info-virtual-index): Remove unused local variable `nodename'.
1030
b87a8200 10312011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 1032
b87a8200
DD
1033 * net/rcirc.el: Update my e-mail address.
1034 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 1035
3b2ff876
CY
10362011-04-05 Chong Yidong <cyd@stupidchicken.com>
1037
1038 * startup.el (command-line): Save the cursor's theme-face
1039 directly, instead of using face-override-spec.
1040
1041 * custom.el (load-theme): Minor optimization in assigning faces.
1042
8d17e7ca
JB
10432011-04-04 Juanma Barranquero <lekktu@gmail.com>
1044
1045 * help-fns.el (describe-variable): Complete all variables having
1046 documentation, including keywords.
1047 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1048
2fbc1934
JB
10492011-04-04 Juanma Barranquero <lekktu@gmail.com>
1050
1051 Convert to lexical-binding.
1052
1053 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1054 (bs--get-marked-string, bs--get-modified-string)
1055 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1056 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1057 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1058
1059 * ehelp.el (electric-help-execute-extended)
1060 (electric-help-ctrl-x-prefix):
1061 * hexl.el (hexl-revert-buffer-function):
1062 * linum.el (linum-after-change, linum-after-scroll):
1063 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1064
1065 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1066
74f50695
DU
10672011-04-04 Daiki Ueno <ueno@unixuser.org>
1068
1069 * epa-dired.el:
1070 * epa-mail.el:
1071 * epa-hook.el:
1072 * epa-file.el:
1073 * epa.el:
1074 * epg.el: Use lexical binding.
1075
c11325f7
CY
10762011-04-03 Chong Yidong <cyd@stupidchicken.com>
1077
0d9e9a12
CY
1078 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1079
c11325f7 1080 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
1081 dictionary case for flyspell-mark-duplications-exceptions.
1082 Use regexp matching for languages.
c11325f7
CY
1083 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1084 default dictionary (Bug#7926).
1085
da91b5f2
CY
10862011-04-02 Chong Yidong <cyd@stupidchicken.com>
1087
099c39a4
JB
1088 * emacs-lisp/package.el (package--with-work-buffer):
1089 Recognize https URLs.
da91b5f2 1090
099c39a4
JB
1091 * net/network-stream.el: Move from gnus/proto-stream.el.
1092 Change prefix to network-stream throughout.
da91b5f2
CY
1093 (open-protocol-stream): Merge into open-network-stream, leaving
1094 open-protocol-stream as an alias. Handle nil BUFFER args.
1095
1096 * subr.el (open-network-stream): Move to net/network-stream.el.
1097
afa8e9f6
GM
10982011-04-02 Glenn Morris <rgm@gnu.org>
1099
1d2e369d
GM
1100 * find-dired.el (find-exec-terminator): New option.
1101 (find-ls-option): Test for -ls support.
1102 (find-ls-subdir-switches): Test for -b in find-ls-option.
1103 (find-dired, find-grep-dired): Doc fixes.
1104 (find-dired): Use find-exec-terminator.
1105
8abb7da8 1106 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
1107 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1108 (find-name-arg): Remove purecopy.
8abb7da8 1109
f3ca7378
GM
1110 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1111 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1112 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1113 accordingly. Don't add the null-device if not needed.
1114
afa8e9f6
GM
1115 * files.el (save-some-buffers): Doc fix.
1116
35eae264
EZ
11172011-04-02 Eli Zaretskii <eliz@gnu.org>
1118
1119 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1120
26b51db5
JB
11212011-04-01 Juanma Barranquero <lekktu@gmail.com>
1122
1123 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1124 Use `dolist' rather than `mapcar'.
1125
7200d79c
SM
11262011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1127
03408648 1128 Add lexical binding.
7200d79c 1129
03408648
SM
1130 * subr.el (apply-partially): Use new closures rather than CL.
1131 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1132 (dolist, dotimes): Use slightly different expansion for lexical code.
1133 (functionp): Move to C.
1134 (letrec): New macro.
1135 (with-wrapper-hook): Use it and apply-partially instead of CL.
1136 (eval-after-load): Preserve lexical-binding.
1137 (save-window-excursion, with-output-to-temp-buffer): Turn them
1138 into macros.
7200d79c 1139
03408648
SM
1140 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1141
1142 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1143 than the arglist.
1144 (help-add-fundoc-usage): Don't add `Not documented'.
1145 (help-function-arglist): Handle closures, subroutines, and new
1146 byte-code-functions.
1147 (help-make-usage): Remove leading underscores.
1148 (describe-function-1): Handle closures.
1149 (describe-variable): Use special-variable-p for completion.
1150
1151 * files.el (lexical-binding): Declare safe.
f488fb65 1152
03408648
SM
1153 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1154 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1155 (pcase): Add `let' pattern.
1156 Change memoization so it actually works.
1157 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1158 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1159 <let>: New case.
f488fb65 1160
03408648
SM
1161 * emacs-lisp/macroexp.el: Use lexical binding.
1162 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1163 Don't convert ' to #' without checking that it's indeed quoting
1164 a lambda.
1165
1166 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 1167 Use eval-sexp-add-defvars.
03408648
SM
1168 (eval-sexp-add-defvars): New fun.
1169
1170 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1171
1172 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1173 Don't autoload.
1174 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1175 than the internal `byte-compile-lambda'.
1176 (defmethod): Don't hide code under quotes.
1177 (eieio-defmethod): New `code' argument.
1178
1179 * emacs-lisp/eieio-comp.el: Remove.
1180
1181 * emacs-lisp/edebug.el (edebug-eval-defun)
1182 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1183 (edebug-toggle): Avoid `eval'.
1184
1185 * emacs-lisp/disass.el (disassemble-internal): Handle new
1186 `closure' objects.
1187 (disassemble-1): Handle new byte codes.
1188
1189 * emacs-lisp/cl.el (pushnew): Silence warning.
1190
1191 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1192 (cl-byte-compile-throw): Remove.
1193 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1194
1195 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1196 closures.
1197
1198 * emacs-lisp/cconv.el: New file.
1199
1200 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1201 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1202 (byte-compile-initial-macro-environment):
1203 Handle declare-function here.
1204 (byte-compile--lexical-environment): New var.
1205 (byte-stack-ref, byte-stack-set, byte-discardN)
1206 (byte-discardN-preserve-tos): New lap codes.
1207 (byte-interactive-p): Don't use any more.
1208 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1209 New macros.
1210 (byte-compile-lapcode): Use them and handle new lap codes.
1211 (byte-compile-obsolete): Remove.
1212 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1213 (byte-compile-arglist-warn): Check late def of inlinable funs.
1214 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1215 since they should have been expanded by now.
1216 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1217 (byte-compile-from-buffer): Remove unused second arg.
1218 (byte-compile-preprocess): New function.
1219 (byte-compile-toplevel-file-form): New function to distinguish
1220 file-form calls from outside from file-form calls from hunk-handlers.
1221 (byte-compile-file-form): Simplify.
1222 (byte-compile-file-form-defsubst): Remove.
1223 (byte-compile-file-form-defmumble): Simplify now that
1224 byte-compile-lambda always returns a byte-code-function.
1225 (byte-compile): Preprocess.
1226 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1227 Remove, not used any more.
1228 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1229 (byte-compile-make-args-desc): New funs.
1230 (byte-compile-lambda): Handle lexical functions. Always return
1231 a byte-code-function.
1232 (byte-compile-reserved-constants): New var, to make up room for
1233 closed-over variables.
1234 (byte-compile-constants-vector): Obey it.
1235 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1236 (byte-compile-macroexpand-declare-function): New function.
1237 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1238 byte-code-functions.
1239 (byte-compile-form): Check obsolescence here.
1240 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1241 (byte-compile-variable-ref): Remove.
1242 (byte-compile-dynamic-variable-op): New fun.
1243 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1244 (byte-compile-variable-set): New funs.
1245 (byte-compile-discard): Add 2 args.
1246 (byte-compile-stack-ref, byte-compile-stack-set)
1247 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1248 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1249 macroexpand-all instead.
1250 (byte-compile-quote-form): Remove.
1251 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1252 (byte-compile-bind, byte-compile-unbind): New funs.
1253 (byte-compile-let): Handle let* and lexical binding.
1254 (byte-compile-let*): Remove.
1255 (byte-compile-catch, byte-compile-unwind-protect)
1256 (byte-compile-track-mouse, byte-compile-condition-case):
1257 Handle a new :fun-body form, used for lexical scoping.
1258 (byte-compile-save-window-excursion)
1259 (byte-compile-with-output-to-temp-buffer): Remove.
1260 (byte-compile-defun): Simplify.
1261 (byte-compile-stack-adjustment): New fun.
1262 (byte-compile-out): Use it.
1263 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1264
1265 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1266 handler any more.
1267
1268 * emacs-lisp/byte-opt.el: Use lexical binding.
1269 (byte-inline-lapcode): Remove (to bytecomp).
1270 (byte-compile-inline-expand): Pay attention to inlining to/from
1271 lexically bound code.
1272 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1273 any more.
1274 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1275 any more and don't call compiler-macros.
1276 (byte-compile-splice-in-already-compiled-code): Remove.
1277 (byte-code): Don't inline any more.
1278 (disassemble-offset): Receive `bytes' as argument rather than via
1279 dynamic scoping.
1280 (byte-compile-tag-number): Declare before first use.
1281 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1282 `return' even if make-spliceable.
1283 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1284 obsolete interactive-p.
1285 (byte-optimize-lapcode): Optimize new lap-codes.
1286 Don't trip up on new form of `byte-constant' lap code.
1287
1288 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1289
1290 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1291
1292 * custom.el (custom-initialize-default, custom-declare-variable):
1293 Use `defvar'.
1294
1295 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1296 New variables.
1297 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1298 (COMPILE_FIRST): Add macroexp and cconv.
1299 * makefile.w32-in: Mirror changes in Makefile.in.
1300
1301 * vc/cvs-status.el:
1302 * vc/diff-mode.el:
1303 * vc/log-edit.el:
1304 * vc/log-view.el:
1305 * vc/smerge-mode.el:
1306 * textmodes/bibtex-style.el:
1307 * textmodes/css.el:
1308 * startup.el:
1309 * uniquify.el:
da91b5f2
CY
1310 * minibuffer.el:
1311 * newcomment.el:
1312 * reveal.el:
1313 * server.el:
1314 * mpc.el:
1315 * emacs-lisp/smie.el:
1316 * doc-view.el:
1317 * dired.el:
03408648
SM
1318 * abbrev.el: Use lexical binding.
1319
0f0c1f27
EZ
13202011-04-01 Eli Zaretskii <eliz@gnu.org>
1321
1322 * info.el (info-display-manual): New function.
1323
c82b2579
SM
13242011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1327
221ddf68
TH
13282011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1329
1330 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 1331 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 1332
cba6e77e
GM
13332011-03-31 Glenn Morris <rgm@gnu.org>
1334
e040639f
GM
1335 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1336
cba6e77e
GM
1337 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1338
6d0f1c9e
CS
13392011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1340
1341 * progmodes/python.el (python-default-interpreter)
1342 (python-python-command-args, python-jython-command-args)
1343 (python-which-shell, python-which-args, python-which-bufname)
1344 (python-file-queue, python-comint-output-filter-function)
1345 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1346 variables and functions.
1347
3e2d70fd
SM
13482011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1351 (completion-in-region-mode): New minor mode.
1352 (completion-in-region): Use it.
1353 (completion-in-region--data, completion-in-region-mode-map): New vars.
1354 (completion-in-region--postch): New function.
1355 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1356 New vars.
1357 (completion--capf-wrapper): New function.
1358 (completion-at-point): Use it to track well-behavedness of
1359 hook functions.
1360 (completion-help-at-point): New command.
1361
f3e4086c
JM
13622011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1363
1364 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1365 syntax class to search for whitespace on a single line
1366 (Message-ID: <4D938140.4030905@redhat.com>).
1367
eb7ffc14
LL
13682011-03-30 Leo Liu <sdl.web@gmail.com>
1369
1370 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1371 New commands.
1372 (edit-abbrevs-map): Bind them here.
1373 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1374
d806ab68
KM
13752011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1376
1377 * allout.el (allout-hide-by-annotation, allout-flag-region):
1378 Reduce possibility of overlay leakage by making them volatile.
1379
1380 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1381 hash is not shared between buffers. Mode initialization is
1382 responsible for giving it a useful starting value.
1383 (allout-item-span): Reduce possibility of overlay leakage by
1384 making them volatile.
1385 (allout-widgets-count-buttons-in-region): Add diagnostic function
1386 for tracking down button overlay leaks.
1387
ea622834
LL
13882011-03-29 Leo Liu <sdl.web@gmail.com>
1389
1390 * ido.el (ido-read-internal): Use the default history var
1391 minibuffer-history if no HISTORY is specified.
1392
b62f8267
G
13932011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1394
03408648
SM
1395 * net/imap.el (imap-shell-open, imap-process-connection-type):
1396 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
1397 Kerberos, SSL, other subprocesses.
1398
947b6566
LL
13992011-03-28 Leo Liu <sdl.web@gmail.com>
1400
1401 * abbrev.el (abbrev-table-empty-p): New function.
1402 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1403 nonempty ones. (Bug#5937)
1404
5ffb62aa
JD
14052011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1406
1407 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1408
7a097943
LL
14092011-03-27 Leo Liu <sdl.web@gmail.com>
1410
1411 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1412 for foreground and background colors.
1413 (ansi-color-make-color-map): Adapt.
1414
c5b40130
LL
14152011-03-25 Leo Liu <sdl.web@gmail.com>
1416
1f48f7d2
LL
1417 * midnight.el (midnight-time-float): Remove. Note it calculates
1418 the microsecond component incorrectly and seconds-to-time does the
1419 same job.
625897ec 1420 Remove redundant (require 'timer).
1f48f7d2 1421
c5b40130
LL
1422 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1423 (ido-completions): Remove unused arguments. (Bug#8329)
1424
d86d2721
SM
14252011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * minibuffer.el (completion--flush-all-sorted-completions):
1428 Remove itself from hook.
1429 (completion-at-point): Let the functions perform the completion
1430 immediately and return nil or t.
1431 * comint.el (comint-dynamic-complete-functions): Now identical to
1432 completion-at-point-functions.
1433 (comint-dynamic-list-input-ring): Remove unused var `index'.
1434 (comint--match-partial-filename, comint--unquote&expand-filename):
1435 New funs, split from comint-match-partial-filename.
1436 (comint-dynamic-complete): Use completion-at-point.
1437 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1438
e8974c48
DA
14392011-03-24 Drew Adams <drew.adams@oracle.com>
1440
1441 * thingatpt.el: Support `defun'.
1442
def71b5e
LL
14432011-03-23 Leo Liu <sdl.web@gmail.com>
1444
cb5af48e
LL
1445 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1446
def71b5e
LL
1447 * help-mode.el (help-mode-finish): Tweak regexp.
1448
927c53e7
GM
14492011-03-23 Glenn Morris <rgm@gnu.org>
1450
18d05bed
GM
1451 * eshell/esh-opt.el (eshell-eval-using-options):
1452 Do not bind unused local variable `eshell-option-stub'.
1453
927c53e7
GM
1454 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1455
9d0da923
JB
14562011-03-22 Juanma Barranquero <lekktu@gmail.com>
1457
1458 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1459 keymap variable in `with-no-warnings' to avoid a warning when the
1460 keymap has been already `defconst'ed.
1461
4b978a67
LL
14622011-03-22 Leo Liu <sdl.web@gmail.com>
1463
1464 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1465 encode all chars in abbrevs; otherwise use emacs-mule or
1466 utf-8-emacs. (Bug#8308)
1467
5fd62452
JB
14682011-03-22 Juanma Barranquero <lekktu@gmail.com>
1469
0b1596c6
JB
1470 * simple.el (backward-delete-char-untabify):
1471 Avoid warning about using `delete-backward-char'.
1472
5fd62452
JB
1473 * image.el (image-type-file-name-regexps): Make it variable.
1474 `imagemagick-register-types' modifies it, and the user may want
1475 to add new extensions for known image types.
1476 (imagemagick-register-types): Throw error if not using ImageMagick.
1477
0b4e93f1
LL
14782011-03-22 Leo Liu <sdl.web@gmail.com>
1479
1480 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1481 located before rcirc-prompt-end-marker.
1482 (rcirc-complete): Error if point is not after rcirc prompt.
1483 Handle the case when table is nil.
9882e214 1484 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 1485
fccee4ab
CY
14862011-03-22 Chong Yidong <cyd@stupidchicken.com>
1487
1488 * custom.el (custom--inhibit-theme-enable): Make it affect only
1489 custom-theme-set-variables and custom-theme-set-faces.
1490 (provide-theme): Ignore custom--inhibit-theme-enable.
1491 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1492 (custom-enabling-themes): Delete variable.
d86d2721
SM
1493 (enable-theme): Accept only loaded themes as arguments.
1494 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
1495 (custom-enabled-themes): Forbid themes from setting this.
1496 Eliminate use of custom-enabling-themes.
1497 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 1498
af896da6
LL
14992011-03-21 Leo Liu <sdl.web@gmail.com>
1500
1501 * ido.el (ido-read-internal): Add ido-selected to history instead
1502 of user input.
1503
78f64af0
SM
15042011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * subr.el (deferred-action-list, deferred-action-function):
1507 Mark obsolete.
1508
b16ac1ec
LL
15092011-03-21 Leo Liu <sdl.web@gmail.com>
1510
810f7698
LL
1511 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1512 change on 2011-02-13 (bug#8309).
1513
b16ac1ec
LL
1514 * minibuffer.el (read-file-name-function): Change default value.
1515 (read-file-name--defaults): Rename from read-file-name-defaults.
1516 (read-file-name-default): Rename from read-file-name.
1517 (read-file-name): Call read-file-name-function.
1518
4e05e67e
GM
15192011-03-21 Glenn Morris <rgm@gnu.org>
1520
1521 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1522 Doc fixes.
1523
4359915b
CY
15242011-03-21 Chong Yidong <cyd@stupidchicken.com>
1525
1526 * cus-theme.el: Add missing provide statement.
1527 (customize-create-theme): Extract theme value correctly.
1528 (custom-theme-visit-theme): Autoload.
1529 (customize-create-theme): Prompt before inserting default faces.
1530
1fe275ee
JB
15312011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1532
1533 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1534 units and musical notes.
1535
3ec03f7e
LL
15362011-03-20 Leo <sdl.web@gmail.com>
1537
1538 * ido.el (ido-read-internal): Use completing-read-default.
1539 (ido-completing-read): Fix compatibility with completing-read.
1540
7d476bde
CO
15412011-03-20 Christian Ohler <ohler@gnu.org>
1542
1543 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1544 (ert-delete-all-tests): Use `called-interactively-p' rather than
1545 `interactive-p'.
1546 (ert--make-xrefs-region): Respect END.
1547
fe0fb33e
CY
15482011-03-19 Chong Yidong <cyd@stupidchicken.com>
1549
ff854b0b
CY
1550 * dired-aux.el (dired-create-directory): Signal an error if the
1551 directory already exists (Bug#8246).
1552
fe0fb33e
CY
1553 * facemenu.el (list-colors-display): Call list-faces-display
1554 inside with-help-window.
1555 (list-colors-print): Use display property to align the final
1556 column, instead of checking window-width.
1557
576bce32
EZ
15582011-03-19 Eli Zaretskii <eliz@gnu.org>
1559
1560 * emerge.el (emerge-metachars): Separate value for ms-dos and
1561 windows-nt systems.
1562 (emerge-protect-metachars): Quote correctly for ms-dos and
1563 windows-nt systems.
1564
8546720e 15652011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
e6ce307c
RS
1566
1567 * info.el (info-initialize): Replace all uses of `:' with
1568 path-separator for compatibility with non-Unix systems.
1569 Cache quoting of path-separator. (Bug#8258)
1570
b14e3e21 15712011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
1572
1573 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1574 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1575 (mouse-avoidance-mode): Fix typos in docstrings.
1576
4525ce3e
CY
15772011-03-19 Chong Yidong <cyd@stupidchicken.com>
1578
1579 * startup.el (package-subdirectory-regexp): Move from package.el.
1580 Omit \\` and \\', and let callers add them.
1581
1582 * emacs-lisp/package.el (package-strip-version)
1583 (package-load-all-descriptors): Add \\` and \\' to
1584 package-subdirectory-regexp before using it.
1585 (package-untar-buffer): New arg DIR; ensure that file untars only
1586 into this expected directory. Remove superfluous delete-region.
1587 (package-unpack): Caller changed.
1588 (package-tar-file-info): Use package-subdirectory-regexp.
1589
a904a09a 15902011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 1591
a904a09a
SM
1592 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1593 diff-mode-shared-map (bug#8284).
1594 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
1595
15962011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1597
1598 * calendar/time-date.el (format-seconds): Use assoc instead of
1599 assoc-string, since assoc-string doesn't exist in XEmacs.
1600
171fc304
JB
16012011-03-17 Juanma Barranquero <lekktu@gmail.com>
1602
1603 * custom.el (custom-known-themes): Reflow docstring.
1604 (custom-theme-load-path): Fix typo in docstring.
1605 (load-theme): Fix typo in error message.
1606 (custom-available-themes, custom-variable-theme-value):
1607 Use `let', not `let*'.
1608
d71990a1
JB
16092011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1610
1611 * calc/README: Mention inclusion of musical notes.
1612
1613 * calc/calc-units.el (calc-lu-quant): Rename from
1614 `calc-logunits-quantity'.
1615 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1616 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1617 (calc-db): Rename from `calc-dblevel'.
1618 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1619 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1620 (calc-np): Rename from `calc-nplevel'.
1621 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1622 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1623 (calc-lu-plus): Rename from `calc-logunits-add'.
1624 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1625 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1626 (calc-lu-minus): Rename from `calc-logunits-sub'.
1627 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1628 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1629 (calc-lu-times): Rename from `calc-logunits-mul'.
1630 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1631 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1632 (calc-lu-divide): Rename from `calc-logunits-div'.
1633 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1634 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1635
1636 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1637 functions being autoloaded.
1638
1639 * calc/calc.el (calc-lu-power-reference): Rename from
1640 `calc-logunits-power-reference'.
1641 (calc-lu-field-reference): Rename from
1642 `calc-logunits-field-reference'.
1643
1644 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1645
40c2934b
SM
16462011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * minibuffer.el (completion-all-sorted-completions):
1649 Use :completion-cycle-penalty text property if present.
1650
b0911414
KM
16512011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
1652
1653 * allout.el (allout-yank-processing): Adjust for new rebulleting
1654 regime so bullet being yanked is used without prompting the user
1655 for a choice.
1656
8a05b668
JB
16572011-03-16 Juanma Barranquero <lekktu@gmail.com>
1658
1659 * startup.el (command-line): Warn the user that _emacs is deprecated.
1660
5ba5fb81
JB
16612011-03-16 Juanma Barranquero <lekktu@gmail.com>
1662
1663 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1664 (delphi-verbose, delphi-comment-face, delphi-string-face)
1665 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1666 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1667 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1668 (delphi-new-comment-line, delphi-font-lock-defaults)
1669 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1670 Fix typos in docstrings.
1671
2dab465b
KM
16722011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
1673
5ba5fb81 1674 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
1675 Invert the roles of character and string values for INSTEAD, so a
1676 string is used for the more common case of a defaulting prompt.
1677
0adf5618
SM
16782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * progmodes/ruby-mode.el (ruby-backward-sexp):
1681 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1682 * play/gamegrid.el (gamegrid-make-face):
1683 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1684 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1685 * notifications.el (notifications-notify):
1686 * net/xesam.el (xesam-search-engines):
1687 * net/quickurl.el (quickurl-list-insert):
1688 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1689
d72700e5
CY
16902011-03-15 Chong Yidong <cyd@stupidchicken.com>
1691
1692 * startup.el (command-line): Update package subdirectory regexp.
1693
49c5410a
SM
16942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1695
c6eee9aa
SM
1696 * allout.el (allout-abbreviate-flattened-numbering)
1697 (allout-mode-deactivate-hook): Fix up obsolescence "date".
1698
49c5410a
SM
1699 * subr.el (read-char-choice): Only show the cursor after the prompt,
1700 not after the answer.
1701
047b2bb9
KR
17022011-03-15 Kevin Ryde <user42@zip.com.au>
1703
1704 * help-fns.el (variable-at-point): Skip leading quotes, if any
1705 (bug#8253).
1706
0a57d256
SM
17072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1710 warning message.
1711
77c992bc
MA
17122011-03-14 Michael Albinus <michael.albinus@gmx.de>
1713
1714 * shell.el (shell): When called interactively, offer to change the
1715 shell file name on remote hosts.
1716
eebc475d
TZ
17172011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
1718
1719 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1720 integration for LDAP parameters. The host, base, user or binddn,
1721 and secret tokens can be specified in a netrc file, for instance.
1722 This is optional because an `auth-source' parameter must be
1723 specified in the search attributes.
1724
9d05d1ba
JB
17252011-03-13 Juanma Barranquero <lekktu@gmail.com>
1726
1727 * help.el (describe-mode): Link to the mode's definition (bug#8185).
1728
09d9db2c
GM
17292011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1732 into declaration. Remove redundant and harmful binding.
1733
17342011-03-12 Eli Zaretskii <eliz@gnu.org>
1735
1736 * files.el (file-ownership-preserved-p): Pass `integer' as an
1737 explicit 2nd argument to `file-attributes'. If the file's owner
1738 is the Administrators group on Windows, and the current user is
1739 Administrator, consider that a match.
1740
1741 * server.el (server-ensure-safe-dir): Consider server directory
1742 safe on MS-Windows if its owner is the Administrators group while
1743 the current Emacs user is Administrator. Use `=' to compare
1744 numerical UIDs, since they could be integers or floats.
1745
219bd536
JB
17462011-03-12 Juanma Barranquero <lekktu@gmail.com>
1747
1748 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1749
f3afd36b
MA
17502011-03-12 Michael Albinus <michael.albinus@gmx.de>
1751
1752 Sync with Tramp 2.2.1.
1753
1754 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1755
1756 * net/trampver.el: Update release number.
1757
3aaaa6f1
SM
17582011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1759
94642599
SM
1760 * progmodes/compile.el (compilation--previous-directory): Fix up
1761 various nil/dead-marker mismatches (bug#8014).
1762 (compilation-directory-properties, compilation-error-properties):
1763 Don't call it at a position past the one we're about to change.
1764
3aaaa6f1
SM
1765 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1766 Disable obsolescence warnings in the file that declares it.
1767
14239447
KM
17682011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
1769
099c39a4
JB
1770 * allout-widgets.el (allout-widgets-tally):
1771 Initialize allout-widgets-tally as a hash table rather than nil to
1772 prevent mode-line redisplay warnings. Also, clarify the module
1773 description and fix a comment typo.
14239447 1774
135e287c
JB
17752011-03-11 Juanma Barranquero <lekktu@gmail.com>
1776
1777 * help-fns.el (describe-variable): Don't complete keywords.
1778 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1779
ffbf300e
CY
17802011-03-10 Chong Yidong <cyd@stupidchicken.com>
1781
ba08b241
CY
1782 * emacs-lisp/package.el (package-version-join): Impose a standard
1783 string representation for pre/alpha/beta version lists.
1784 (package-unpack-single): Standardize the directory name by passing
1785 it through package-version-join.
1786 (package-strip-rcs-id): Accept any version string that does not
1787 signal an error in version-to-list.
ffbf300e 1788
f346fd6b
MA
17892011-03-10 Michael Albinus <michael.albinus@gmx.de>
1790
1791 * simple.el (delete-trailing-whitespace): Return nil for the
1792 benefit of `write-file-functions'.
1793
ccb55d27
GM
17942011-03-10 Glenn Morris <rgm@gnu.org>
1795
5ceaac0c
GM
1796 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1797
02da65ff
GM
1798 * vc/vc-git.el (vc-git-program): New option.
1799 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1800 (vc-git--call): Use it.
1801
b2f603cc
GM
1802 * eshell/esh-util.el (eshell-condition-case): Doc fix.
1803
5772caab
GM
1804 * cus-edit.el (Custom-newline): If no button at point, look
1805 for a subgroup button at start-of-line. (Bug#2298)
1806
ccb55d27
GM
1807 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1808
ec6ecaed
JD
18092011-03-10 Julien Danjou <julien@danjou.info>
1810
1811 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1812 `cursor-type' is nil.
1813
9d5aa01d
JB
18142011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
1815
1816 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1817
b6a5875b
KM
18182011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
1819
1820 * allout.el Summary: Change so yank of distinctive-bullet items
1821 preserves the existing header prefix, rebulleting it if necessary,
1822 rather than replacing it. This is necessary for proper operation
1823 of cooperative addons like allout-widgets.
219bd536 1824 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
1825 SOLICIT arg to INSTEAD, and interpret additionally a string value
1826 as alternate bullet to be used, instead of prompting the user for
1827 a bullet character.
1828
ee545c35
MA
18292011-03-09 Michael Albinus <michael.albinus@gmx.de>
1830
d86d2721
SM
1831 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1832 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
1833 `tramp-default-port'.
1834
c47971d7
DD
18352011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1836
1837 * net/rcirc.el (rcirc-handler-001): Remove useless
1838 with-rcirc-process-buffer.
1839 (rcirc-check-auth-status): Swap arguments to string-match.
1840
13522cb4
GM
18412011-03-09 Glenn Morris <rgm@gnu.org>
1842
0be6f4f1
GM
1843 * shell.el (shell-mode):
1844 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
1845
13522cb4
GM
1846 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
1847 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
1848
515de2e3
CY
18492011-03-08 Chong Yidong <cyd@stupidchicken.com>
1850
1851 * emacs-lisp/package.el (package-refresh-contents)
1852 (package-menu-execute): Use condition-case-no-debug.
1853
b511b994
MA
18542011-03-08 Michael Albinus <michael.albinus@gmx.de>
1855
1856 * simple.el (shell-command-to-string): Use `process-file'.
1857
1858 * emacs-lisp/package.el (package-tar-file-info): Handle also
1859 remote files.
1860
d86d2721
SM
1861 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1862 Use `equal' for upload base check.
b511b994 1863
25bbfb31
AM
18642011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
1865
1866 * textmodes/texinfo.el (texinfo-environments):
1867 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
1868
be996521
GM
18692011-03-08 Glenn Morris <rgm@gnu.org>
1870
e9c8529f
GM
1871 * cus-start.el (cursor-in-non-selected-windows):
1872 Fix :set quoting oddness. (Bug#8192)
1873
be996521
GM
1874 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
1875 in some setf expressions. (Bug#2159)
1876
2bb5649e
CY
18772011-03-08 Chong Yidong <cyd@stupidchicken.com>
1878
1879 * custom.el (custom-available-themes): Return themes in
1880 alphabetical order.
1881
33383987 1882See ChangeLog.15 for earlier changes.
e3d51b27
MR
1883
1884;; Local Variables:
1885;; coding: utf-8
e3d51b27
MR
1886;; End:
1887
33383987 1888 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
1889
1890 This file is part of GNU Emacs.
1891
1892 GNU Emacs is free software: you can redistribute it and/or modify
1893 it under the terms of the GNU General Public License as published by
1894 the Free Software Foundation, either version 3 of the License, or
1895 (at your option) any later version.
1896
1897 GNU Emacs is distributed in the hope that it will be useful,
1898 but WITHOUT ANY WARRANTY; without even the implied warranty of
1899 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1900 GNU General Public License for more details.
1901
1902 You should have received a copy of the GNU General Public License
1903 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.