1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00

(completion-pcm--all-completions): Don't pass nil to all-completions.

This commit is contained in:
Stefan Monnier 2008-04-28 13:57:20 +00:00
parent fb8a632653
commit 602f074a51
2 changed files with 24 additions and 20 deletions

View File

@ -1,3 +1,8 @@
2008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (completion-pcm--all-completions): Don't pass nil to
all-completions.
2008-04-28 Juanma Barranquero <lekktu@gmail.com>
* desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
@ -41,8 +46,8 @@
* org/org.el (org-html-level-start): Always have id's in HTML.
(org-export-as-html): Use `org-link-protocols' to
retrieve the export form of the link.
(org-add-link-type): Final parameter renamed from PUBLISH. Better
documentation of how it is to be used. Avoid double entries for
(org-add-link-type): Final parameter renamed from PUBLISH.
Better documentation of how it is to be used. Avoid double entries for
the same link type.
(org-add-link-props): New function.
(org-modules-loaded): New variable.
@ -75,10 +80,10 @@
Interpret filenames relative to `org-directory'.
(org-complete): Silently fail when trying to complete
keywords that don't have a default value.
(org-get-current-options): Added a #+DATE: option.
(org-additional-option-like-keywords): Removed "DATE:" from the
(org-get-current-options): Add a #+DATE: option.
(org-additional-option-like-keywords): Remove "DATE:" from the
list of additional keywords.
(org-export-as-html): Removed (current-time) as unnecessary second
(org-export-as-html): Remove (current-time) as unnecessary second
argument of `format-time-string'.
(org-clock-find-position): Handle special case at end of buffer.
(org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
@ -94,13 +99,12 @@
(org-agenda-compute-time-span): New argument N, interpret it by
changing the starting day.
(org-small-year-to-year): New function.
(org-scheduled-past-days): Respect
`org-scheduled-past-days'.
(org-scheduled-past-days): Respect `org-scheduled-past-days'.
(org-auto-repeat-maybe): Make sure that repeating dates are pushed
into the future, and that the shift is at least one interval, never 0.
(org-update-checkbox-count): Fix bug with checkbox counting.
(org-add-note): New command.
(org-add-log-setup): Renamed from `org-add-log-maybe'.
(org-add-log-setup): Rename from `org-add-log-maybe'.
(org-log-note-headings): New entry for plain notes (i.e. notes not
related to state changes or clocking).
(org-get-org-file): Check for availability of `remember-data-file'.
@ -137,8 +141,8 @@
the buffer associated with the entry at point (or with the first
entry in the agenda view).
(org-modules): Add entry for org-bibtex.el.
(org-completion-fallback-command): Moved into `org-completion' group.
(org-clock-heading-function): Moved to `org-progress' group.
(org-completion-fallback-command): Move into `org-completion' group.
(org-clock-heading-function): Move to `org-progress' group.
(org-auto-repeat-maybe): Make sure that a note can
be enforces if `org-log-repeat' is `note'.
(org-modules): Allow additional symbols for external packages.
@ -265,12 +269,12 @@
* lisp/org-clock.el (org-clock): New customization group.
(org-clock-into-drawer, org-clock-out-when-done)
(org-clock-in-switch-to-state, org-clock-heading-function):
Moved into the new group.
Move into the new group.
(org-clock-out-remove-zero-time-clocks): New option.
(org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
(org-dblock-write:clocktable): Allow a Lisp form for the scope
parameter.
(org-dblock-write:clocktable): Fixed bug with total time calculation.
(org-dblock-write:clocktable): Fix bug with total time calculation.
(org-dblock-write:clocktable): Request the unrestricted list of files.
(org-get-clocktable): New function.
(org-dblock-write:clocktable): Make sure :tstart and :tend can not only
@ -288,7 +292,7 @@
* org/org-exp.el (org-export-run-in-background): New option.
(org-export-icalendar): Allow a batch process to trigger waiting
after executing a system command.
(org-export-preprocess-string): Renamed-from
(org-export-preprocess-string): Rename from
`org-cleaned-string-for-export'.
(org-export-html-style): Made target class look like normal text.
(org-export-as-html): Make use of the better proprocessing in
@ -314,7 +318,7 @@
(org-table-current-column): No longer interactive.
* org/org-export-latex.el (org-export-latex-preprocess):
Renamed from `org-export-latex-cleaned-string'.
Rename from `org-export-latex-cleaned-string'.
2008-04-27 Bastien Guerry <bzg@altern.org>
@ -342,9 +346,9 @@
(tramp-set-file-property, tramp-flush-file-property)
(tramp-flush-directory-property)
* net/tramp-compat.el (tramp-compat-make-temp-file)
* net/tramp-fish.el (tramp-fish-handle-expand-file-name): Disable
`file-name-handler-alist' when handling localname. It could have
a remote file syntax, like a VMS file name.
* net/tramp-fish.el (tramp-fish-handle-expand-file-name):
Disable `file-name-handler-alist' when handling localname.
It could have a remote file syntax, like a VMS file name.
2008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
@ -370,8 +374,8 @@
2008-04-27 Johan Bockgård <bojohan@gnu.org>
* emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
Simplify. Collect `defun' and `autoload' entries. Avoid
modifying load-history.
Simplify. Collect `defun' and `autoload' entries.
Avoid modifying load-history.
2008-04-26 Glenn Morris <rgm@gnu.org>

View File

@ -1131,7 +1131,7 @@ PATTERN is as returned by `completion-pcm--string->pattern'."
(regex (completion-pcm--pattern->regex pattern))
(completion-regexp-list (cons regex completion-regexp-list))
(compl (all-completions
(if (stringp (car pattern)) (car pattern))
(if (stringp (car pattern)) (car pattern) "")
table pred))
(last (last compl)))
;; FIXME: If `base-size' is not 0, we have a problem :-(