diff options
| author | Juanma Barranquero | 2008-12-15 12:52:16 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-12-15 12:52:16 +0000 |
| commit | 9bc505aba8e661bacf5f3573b6b877391c99fe97 (patch) | |
| tree | f7fe6e5deba4ed4f105bde89bee01ba08b72ecdc | |
| parent | 96a222012f17c0c20b6b34ece57620d7c88e4ebb (diff) | |
| download | emacs-9bc505aba8e661bacf5f3573b6b877391c99fe97.tar.gz emacs-9bc505aba8e661bacf5f3573b6b877391c99fe97.zip | |
* simple.el (bad-package-check): Fix arguments of `display-warning',
using the package name as TYPE. Use `string-match-p'.
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/simple.el | 4 |
2 files changed, 8 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9ff2ec275ea..e1ec5a1fa97 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,9 +1,14 @@ | |||
| 1 | 2008-12-15 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * simple.el (bad-package-check): Fix arguments of `display-warning', | ||
| 4 | using the package name as TYPE. Use `string-match-p'. | ||
| 5 | |||
| 1 | 2008-12-14 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | 6 | 2008-12-14 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> |
| 2 | 7 | ||
| 3 | * proced.el (proced-sort-interactive, proced-sort-pcpu) | 8 | * proced.el (proced-sort-interactive, proced-sort-pcpu) |
| 4 | (proced-sort-pmem, proced-sort-start, proced-sort-time) | 9 | (proced-sort-pmem, proced-sort-start, proced-sort-time) |
| 5 | (proced-sort-user, proced-sort-header): Prefix arg determines | 10 | (proced-sort-user, proced-sort-header): Prefix arg determines |
| 6 | sorting order. Suggested by Dan Nicolaescu. | 11 | sorting order. Suggested by Dan Nicolaescu. |
| 7 | (proced-revert): Doc fix. | 12 | (proced-revert): Doc fix. |
| 8 | 13 | ||
| 9 | 2008-12-14 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | 14 | 2008-12-14 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> |
| @@ -911,7 +916,6 @@ | |||
| 911 | * progmodes/tcl.el (tcl-filter): Don't forcibly move point. | 916 | * progmodes/tcl.el (tcl-filter): Don't forcibly move point. |
| 912 | 917 | ||
| 913 | 2008-11-21 Stefan Monnier <monnier@iro.umontreal.ca> | 918 | 2008-11-21 Stefan Monnier <monnier@iro.umontreal.ca> |
| 914 | |||
| 915 | * international/quail.el (quail-indent-to): New function. | 919 | * international/quail.el (quail-indent-to): New function. |
| 916 | (quail-completion-1, quail-completion-list-translations) | 920 | (quail-completion-1, quail-completion-list-translations) |
| 917 | (quail-insert-decode-map): Use it to improve alignment. | 921 | (quail-insert-decode-map): Use it to improve alignment. |
| @@ -3094,7 +3098,6 @@ | |||
| 3094 | 2008-09-12 Glenn Morris <rgm@gnu.org> | 3098 | 2008-09-12 Glenn Morris <rgm@gnu.org> |
| 3095 | 3099 | ||
| 3096 | * progmodes/f90.el (f90-mode-map): Don't bind \t and \r. | 3100 | * progmodes/f90.el (f90-mode-map): Don't bind \t and \r. |
| 3097 | |||
| 3098 | * indent.el (indent-line-function): Doc fix. | 3101 | * indent.el (indent-line-function): Doc fix. |
| 3099 | * progmodes/sh-script.el (sh-font-lock-open-heredoc): Doc fix. | 3102 | * progmodes/sh-script.el (sh-font-lock-open-heredoc): Doc fix. |
| 3100 | 3103 | ||
| @@ -11812,7 +11815,6 @@ | |||
| 11812 | 11815 | ||
| 11813 | * find-dired.el (find-dired-filter): Fix last patch to handle | 11816 | * find-dired.el (find-dired-filter): Fix last patch to handle |
| 11814 | multi-line process input. Pad link numbers too. | 11817 | multi-line process input. Pad link numbers too. |
| 11815 | |||
| 11816 | 2008-04-01 Jari Aalto <jari.aalto@cante.net> | 11818 | 2008-04-01 Jari Aalto <jari.aalto@cante.net> |
| 11817 | 11819 | ||
| 11818 | * find-dired.el (find-dired-filter): Align columns by padding file sizes. | 11820 | * find-dired.el (find-dired-filter): Align columns by padding file sizes. |
diff --git a/lisp/simple.el b/lisp/simple.el index 1811315b21f..357de51a3db 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -6335,8 +6335,8 @@ warning using STRING as the message.") | |||
| 6335 | (boundp symbol) | 6335 | (boundp symbol) |
| 6336 | (or (eq symbol t) | 6336 | (or (eq symbol t) |
| 6337 | (and (stringp (setq symbol (eval symbol))) | 6337 | (and (stringp (setq symbol (eval symbol))) |
| 6338 | (string-match (nth 2 list) symbol))) | 6338 | (string-match-p (nth 2 list) symbol))) |
| 6339 | (display-warning :warning (nth 3 list)))) | 6339 | (display-warning package (nth 3 list) :warning))) |
| 6340 | (error nil))) | 6340 | (error nil))) |
| 6341 | 6341 | ||
| 6342 | (mapc (lambda (elem) | 6342 | (mapc (lambda (elem) |