aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-04-28 13:57:20 +0000
committerStefan Monnier2008-04-28 13:57:20 +0000
commit602f074a510a2e6ce5b9ba4be6cbaa32279febae (patch)
tree97b07443bf74dcbe9fa3543ca4d969b508be9adc
parentfb8a6326537d41cabfbb8528dbc5fcfbb65c2f0f (diff)
downloademacs-602f074a510a2e6ce5b9ba4be6cbaa32279febae.tar.gz
emacs-602f074a510a2e6ce5b9ba4be6cbaa32279febae.zip
(completion-pcm--all-completions): Don't pass nil to all-completions.
-rw-r--r--lisp/ChangeLog42
-rw-r--r--lisp/minibuffer.el2
2 files changed, 24 insertions, 20 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1354d31c95b..85c3311d1b6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
4 all-completions.
5
12008-04-28 Juanma Barranquero <lekktu@gmail.com> 62008-04-28 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'. 8 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
@@ -41,8 +46,8 @@
41 * org/org.el (org-html-level-start): Always have id's in HTML. 46 * org/org.el (org-html-level-start): Always have id's in HTML.
42 (org-export-as-html): Use `org-link-protocols' to 47 (org-export-as-html): Use `org-link-protocols' to
43 retrieve the export form of the link. 48 retrieve the export form of the link.
44 (org-add-link-type): Final parameter renamed from PUBLISH. Better 49 (org-add-link-type): Final parameter renamed from PUBLISH.
45 documentation of how it is to be used. Avoid double entries for 50 Better documentation of how it is to be used. Avoid double entries for
46 the same link type. 51 the same link type.
47 (org-add-link-props): New function. 52 (org-add-link-props): New function.
48 (org-modules-loaded): New variable. 53 (org-modules-loaded): New variable.
@@ -75,10 +80,10 @@
75 Interpret filenames relative to `org-directory'. 80 Interpret filenames relative to `org-directory'.
76 (org-complete): Silently fail when trying to complete 81 (org-complete): Silently fail when trying to complete
77 keywords that don't have a default value. 82 keywords that don't have a default value.
78 (org-get-current-options): Added a #+DATE: option. 83 (org-get-current-options): Add a #+DATE: option.
79 (org-additional-option-like-keywords): Removed "DATE:" from the 84 (org-additional-option-like-keywords): Remove "DATE:" from the
80 list of additional keywords. 85 list of additional keywords.
81 (org-export-as-html): Removed (current-time) as unnecessary second 86 (org-export-as-html): Remove (current-time) as unnecessary second
82 argument of `format-time-string'. 87 argument of `format-time-string'.
83 (org-clock-find-position): Handle special case at end of buffer. 88 (org-clock-find-position): Handle special case at end of buffer.
84 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to 89 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
@@ -94,13 +99,12 @@
94 (org-agenda-compute-time-span): New argument N, interpret it by 99 (org-agenda-compute-time-span): New argument N, interpret it by
95 changing the starting day. 100 changing the starting day.
96 (org-small-year-to-year): New function. 101 (org-small-year-to-year): New function.
97 (org-scheduled-past-days): Respect 102 (org-scheduled-past-days): Respect `org-scheduled-past-days'.
98 `org-scheduled-past-days'.
99 (org-auto-repeat-maybe): Make sure that repeating dates are pushed 103 (org-auto-repeat-maybe): Make sure that repeating dates are pushed
100 into the future, and that the shift is at least one interval, never 0. 104 into the future, and that the shift is at least one interval, never 0.
101 (org-update-checkbox-count): Fix bug with checkbox counting. 105 (org-update-checkbox-count): Fix bug with checkbox counting.
102 (org-add-note): New command. 106 (org-add-note): New command.
103 (org-add-log-setup): Renamed from `org-add-log-maybe'. 107 (org-add-log-setup): Rename from `org-add-log-maybe'.
104 (org-log-note-headings): New entry for plain notes (i.e. notes not 108 (org-log-note-headings): New entry for plain notes (i.e. notes not
105 related to state changes or clocking). 109 related to state changes or clocking).
106 (org-get-org-file): Check for availability of `remember-data-file'. 110 (org-get-org-file): Check for availability of `remember-data-file'.
@@ -137,8 +141,8 @@
137 the buffer associated with the entry at point (or with the first 141 the buffer associated with the entry at point (or with the first
138 entry in the agenda view). 142 entry in the agenda view).
139 (org-modules): Add entry for org-bibtex.el. 143 (org-modules): Add entry for org-bibtex.el.
140 (org-completion-fallback-command): Moved into `org-completion' group. 144 (org-completion-fallback-command): Move into `org-completion' group.
141 (org-clock-heading-function): Moved to `org-progress' group. 145 (org-clock-heading-function): Move to `org-progress' group.
142 (org-auto-repeat-maybe): Make sure that a note can 146 (org-auto-repeat-maybe): Make sure that a note can
143 be enforces if `org-log-repeat' is `note'. 147 be enforces if `org-log-repeat' is `note'.
144 (org-modules): Allow additional symbols for external packages. 148 (org-modules): Allow additional symbols for external packages.
@@ -265,12 +269,12 @@
265 * lisp/org-clock.el (org-clock): New customization group. 269 * lisp/org-clock.el (org-clock): New customization group.
266 (org-clock-into-drawer, org-clock-out-when-done) 270 (org-clock-into-drawer, org-clock-out-when-done)
267 (org-clock-in-switch-to-state, org-clock-heading-function): 271 (org-clock-in-switch-to-state, org-clock-heading-function):
268 Moved into the new group. 272 Move into the new group.
269 (org-clock-out-remove-zero-time-clocks): New option. 273 (org-clock-out-remove-zero-time-clocks): New option.
270 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'. 274 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
271 (org-dblock-write:clocktable): Allow a Lisp form for the scope 275 (org-dblock-write:clocktable): Allow a Lisp form for the scope
272 parameter. 276 parameter.
273 (org-dblock-write:clocktable): Fixed bug with total time calculation. 277 (org-dblock-write:clocktable): Fix bug with total time calculation.
274 (org-dblock-write:clocktable): Request the unrestricted list of files. 278 (org-dblock-write:clocktable): Request the unrestricted list of files.
275 (org-get-clocktable): New function. 279 (org-get-clocktable): New function.
276 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only 280 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
@@ -288,7 +292,7 @@
288 * org/org-exp.el (org-export-run-in-background): New option. 292 * org/org-exp.el (org-export-run-in-background): New option.
289 (org-export-icalendar): Allow a batch process to trigger waiting 293 (org-export-icalendar): Allow a batch process to trigger waiting
290 after executing a system command. 294 after executing a system command.
291 (org-export-preprocess-string): Renamed-from 295 (org-export-preprocess-string): Rename from
292 `org-cleaned-string-for-export'. 296 `org-cleaned-string-for-export'.
293 (org-export-html-style): Made target class look like normal text. 297 (org-export-html-style): Made target class look like normal text.
294 (org-export-as-html): Make use of the better proprocessing in 298 (org-export-as-html): Make use of the better proprocessing in
@@ -314,7 +318,7 @@
314 (org-table-current-column): No longer interactive. 318 (org-table-current-column): No longer interactive.
315 319
316 * org/org-export-latex.el (org-export-latex-preprocess): 320 * org/org-export-latex.el (org-export-latex-preprocess):
317 Renamed from `org-export-latex-cleaned-string'. 321 Rename from `org-export-latex-cleaned-string'.
318 322
3192008-04-27 Bastien Guerry <bzg@altern.org> 3232008-04-27 Bastien Guerry <bzg@altern.org>
320 324
@@ -342,9 +346,9 @@
342 (tramp-set-file-property, tramp-flush-file-property) 346 (tramp-set-file-property, tramp-flush-file-property)
343 (tramp-flush-directory-property) 347 (tramp-flush-directory-property)
344 * net/tramp-compat.el (tramp-compat-make-temp-file) 348 * net/tramp-compat.el (tramp-compat-make-temp-file)
345 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Disable 349 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
346 `file-name-handler-alist' when handling localname. It could have 350 Disable `file-name-handler-alist' when handling localname.
347 a remote file syntax, like a VMS file name. 351 It could have a remote file syntax, like a VMS file name.
348 352
3492008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br> 3532008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
350 354
@@ -370,8 +374,8 @@
3702008-04-27 Johan Bockgård <bojohan@gnu.org> 3742008-04-27 Johan Bockgård <bojohan@gnu.org>
371 375
372 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions): 376 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
373 Simplify. Collect `defun' and `autoload' entries. Avoid 377 Simplify. Collect `defun' and `autoload' entries.
374 modifying load-history. 378 Avoid modifying load-history.
375 379
3762008-04-26 Glenn Morris <rgm@gnu.org> 3802008-04-26 Glenn Morris <rgm@gnu.org>
377 381
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index cbe0269eaaf..f6fe6f849aa 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -1131,7 +1131,7 @@ PATTERN is as returned by `completion-pcm--string->pattern'."
1131 (regex (completion-pcm--pattern->regex pattern)) 1131 (regex (completion-pcm--pattern->regex pattern))
1132 (completion-regexp-list (cons regex completion-regexp-list)) 1132 (completion-regexp-list (cons regex completion-regexp-list))
1133 (compl (all-completions 1133 (compl (all-completions
1134 (if (stringp (car pattern)) (car pattern)) 1134 (if (stringp (car pattern)) (car pattern) "")
1135 table pred)) 1135 table pred))
1136 (last (last compl))) 1136 (last (last compl)))
1137 ;; FIXME: If `base-size' is not 0, we have a problem :-( 1137 ;; FIXME: If `base-size' is not 0, we have a problem :-(