diff options
| author | Glenn Morris | 2009-06-23 07:43:17 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-06-23 07:43:17 +0000 |
| commit | 33e2c2e5b3228c21232499296f7b7c39ade3b673 (patch) | |
| tree | a59d779de7aba31b1f2b263915678763e9ff4f88 | |
| parent | f529f302e95a908ab6c5ce46853a8caf6cde3a19 (diff) | |
| download | emacs-33e2c2e5b3228c21232499296f7b7c39ade3b673.tar.gz emacs-33e2c2e5b3228c21232499296f7b7c39ade3b673.zip | |
(pcomplete/rpm): Doc fix.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/pcmpl-rpm.el | 11 |
2 files changed, 6 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 104a1bd9c08..aa58deb0347 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2009-06-23 Glenn Morris <rgm@gnu.org> | 1 | 2009-06-23 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * pcmpl-rpm.el (pcomplete/rpm): Doc fix. | ||
| 4 | |||
| 3 | * bindings.el (mode-line-modified): Fix case of "Buffer is modified". | 5 | * bindings.el (mode-line-modified): Fix case of "Buffer is modified". |
| 4 | 6 | ||
| 5 | * textmodes/ispell.el (ispell-local-dictionary): Doc fix. | 7 | * textmodes/ispell.el (ispell-local-dictionary): Doc fix. |
diff --git a/lisp/pcmpl-rpm.el b/lisp/pcmpl-rpm.el index 9335248dcfe..0f596304c9a 100644 --- a/lisp/pcmpl-rpm.el +++ b/lisp/pcmpl-rpm.el | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | 20 | ||
| 21 | ;;; Commentary: | 21 | ;;; Commentary: |
| 22 | 22 | ||
| 23 | ;; These functions provide completion rules for RedHat's `rpm' tool. | 23 | ;; These functions provide completion rules for the `rpm' command. |
| 24 | 24 | ||
| 25 | ;;; Code: | 25 | ;;; Code: |
| 26 | 26 | ||
| @@ -53,11 +53,8 @@ | |||
| 53 | 53 | ||
| 54 | ;;;###autoload | 54 | ;;;###autoload |
| 55 | (defun pcomplete/rpm () | 55 | (defun pcomplete/rpm () |
| 56 | "Completion for RedHat's `rpm' command. | 56 | "Completion for the `rpm' command." |
| 57 | These rules were taken from the output of `rpm --help' on a RedHat 6.1 | 57 | ;; Originally taken from the output of `rpm --help' on a Red Hat 6.1 system. |
| 58 | system. They follow my interpretation of what followed, but since I'm | ||
| 59 | not a major rpm user/builder, please send me any corrections you find. | ||
| 60 | You can use \\[report-emacs-bug] to do so." | ||
| 61 | (let (mode) | 58 | (let (mode) |
| 62 | (while (<= pcomplete-index pcomplete-last) | 59 | (while (<= pcomplete-index pcomplete-last) |
| 63 | (unless mode | 60 | (unless mode |
| @@ -136,7 +133,7 @@ You can use \\[report-emacs-bug] to do so." | |||
| 136 | (if (pcomplete-match "^-" 0) | 133 | (if (pcomplete-match "^-" 0) |
| 137 | (pcomplete-opt "af.p(pcmpl-rpm-files)ilsdcvR") | 134 | (pcomplete-opt "af.p(pcmpl-rpm-files)ilsdcvR") |
| 138 | (if (pcomplete-test "-[^-]*p" 'first 1) | 135 | (if (pcomplete-test "-[^-]*p" 'first 1) |
| 139 | (pcomplete-here (pcmpl-rpm-files)) | 136 | (pcomplete-here (pcmpl-rpm-files)) |
| 140 | (pcomplete-here (pcmpl-rpm-packages)))))) | 137 | (pcomplete-here (pcmpl-rpm-packages)))))) |
| 141 | ((pcomplete-test "--pipe") | 138 | ((pcomplete-test "--pipe") |
| 142 | (pcomplete-here* (funcall pcomplete-command-completion-function))) | 139 | (pcomplete-here* (funcall pcomplete-command-completion-function))) |