diff options
| author | Lennart Borgman | 2011-01-08 17:15:51 -0500 |
|---|---|---|
| committer | Chong Yidong | 2011-01-08 17:15:51 -0500 |
| commit | 320912fb3d938746b4a74750f366c6e698e91a34 (patch) | |
| tree | c5a41085e30f9df6096ec2bba414e26ac88495e4 | |
| parent | c40b51e0ff77adfbe27150de0e154bd0015a4ec5 (diff) | |
| download | emacs-320912fb3d938746b4a74750f366c6e698e91a34.tar.gz emacs-320912fb3d938746b4a74750f366c6e698e91a34.zip | |
Fix permanancy of BUFFER-LIST arg to list-buffers-noselect (Bug#7749).
* buff-menu.el (Buffer-menu-buffer-list): New var.
(Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
restricted buffer list is not lost on revert (Bug#7749).
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/buff-menu.el | 11 | ||||
| -rw-r--r-- | lisp/dired.el | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/cl-loaddefs.el | 6 | ||||
| -rw-r--r-- | lisp/ibuffer.el | 2 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 14 | ||||
| -rw-r--r-- | lisp/ps-print.el | 2 |
7 files changed, 29 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2ba9a86ea80..0769c3d4c80 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-01-08 Lennart Borgman <lennart.borgman@gmail.com> | ||
| 2 | |||
| 3 | * buff-menu.el (Buffer-menu-buffer-list): New var. | ||
| 4 | (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a | ||
| 5 | restricted buffer list is not lost on revert (Bug#7749). | ||
| 6 | |||
| 1 | 2011-01-08 Eric Hanchrow <eric.hanchrow@gmail.com> | 7 | 2011-01-08 Eric Hanchrow <eric.hanchrow@gmail.com> |
| 2 | 8 | ||
| 3 | * net/ldap.el (ldap-search-internal): Discard stderr output. | 9 | * net/ldap.el (ldap-search-internal): Discard stderr output. |
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index 44e494e98a6..19cc01c5144 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el | |||
| @@ -111,9 +111,15 @@ A nil value means sort by visited order (the default).") | |||
| 111 | This variable determines whether reverting the buffer lists only | 111 | This variable determines whether reverting the buffer lists only |
| 112 | file buffers. It affects both manual reverting and reverting by | 112 | file buffers. It affects both manual reverting and reverting by |
| 113 | Auto Revert Mode.") | 113 | Auto Revert Mode.") |
| 114 | |||
| 115 | (make-variable-buffer-local 'Buffer-menu-files-only) | 114 | (make-variable-buffer-local 'Buffer-menu-files-only) |
| 116 | 115 | ||
| 116 | (defvar Buffer-menu--buffers nil | ||
| 117 | "If non-nil, list of buffers shown in the current buffer-menu. | ||
| 118 | This variable determines whether reverting the buffer lists only | ||
| 119 | this buffers. It affects both manual reverting and reverting by | ||
| 120 | Auto Revert Mode.") | ||
| 121 | (make-variable-buffer-local 'Buffer-menu--buffers) | ||
| 122 | |||
| 117 | (defvar Info-current-file) ;; from info.el | 123 | (defvar Info-current-file) ;; from info.el |
| 118 | (defvar Info-current-node) ;; from info.el | 124 | (defvar Info-current-node) ;; from info.el |
| 119 | 125 | ||
| @@ -281,7 +287,7 @@ Letters do not insert themselves; instead, they are commands. | |||
| 281 | ;; interactively current buffer is correctly identified with a `.' | 287 | ;; interactively current buffer is correctly identified with a `.' |
| 282 | ;; by `list-buffers-noselect'. | 288 | ;; by `list-buffers-noselect'. |
| 283 | (with-current-buffer (window-buffer) | 289 | (with-current-buffer (window-buffer) |
| 284 | (list-buffers-noselect Buffer-menu-files-only)) | 290 | (list-buffers-noselect Buffer-menu-files-only Buffer-menu--buffers)) |
| 285 | (if oline | 291 | (if oline |
| 286 | (while (setq prop (next-single-property-change prop 'buffer)) | 292 | (while (setq prop (next-single-property-change prop 'buffer)) |
| 287 | (when (eq (get-text-property prop 'buffer) oline) | 293 | (when (eq (get-text-property prop 'buffer) oline) |
| @@ -920,6 +926,7 @@ For more information, see the function `buffer-menu'." | |||
| 920 | (and desired-point | 926 | (and desired-point |
| 921 | (goto-char desired-point)) | 927 | (goto-char desired-point)) |
| 922 | (setq Buffer-menu-files-only files-only) | 928 | (setq Buffer-menu-files-only files-only) |
| 929 | (setq Buffer-menu--buffers buffer-list) | ||
| 923 | (set-buffer-modified-p nil) | 930 | (set-buffer-modified-p nil) |
| 924 | (current-buffer)))) | 931 | (current-buffer)))) |
| 925 | 932 | ||
diff --git a/lisp/dired.el b/lisp/dired.el index 0812e2e61a1..306bd8f779a 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -3532,7 +3532,7 @@ Ask means pop up a menu for the user to select one of copy, move or link." | |||
| 3532 | ;;;;;; dired-run-shell-command dired-do-shell-command dired-do-async-shell-command | 3532 | ;;;;;; dired-run-shell-command dired-do-shell-command dired-do-async-shell-command |
| 3533 | ;;;;;; dired-clean-directory dired-do-print dired-do-touch dired-do-chown | 3533 | ;;;;;; dired-clean-directory dired-do-print dired-do-touch dired-do-chown |
| 3534 | ;;;;;; dired-do-chgrp dired-do-chmod dired-compare-directories dired-backup-diff | 3534 | ;;;;;; dired-do-chgrp dired-do-chmod dired-compare-directories dired-backup-diff |
| 3535 | ;;;;;; dired-diff) "dired-aux" "dired-aux.el" "03cf081d2aac54764123d2407c3196a2") | 3535 | ;;;;;; dired-diff) "dired-aux" "dired-aux.el" "255ac82c318ef43da2e47b931c0f8581") |
| 3536 | ;;; Generated autoloads from dired-aux.el | 3536 | ;;; Generated autoloads from dired-aux.el |
| 3537 | 3537 | ||
| 3538 | (autoload 'dired-diff "dired-aux" "\ | 3538 | (autoload 'dired-diff "dired-aux" "\ |
| @@ -3985,7 +3985,7 @@ true then the type of the file linked to by FILE is printed instead. | |||
| 3985 | ;;;*** | 3985 | ;;;*** |
| 3986 | 3986 | ||
| 3987 | ;;;### (autoloads (dired-do-relsymlink dired-jump) "dired-x" "dired-x.el" | 3987 | ;;;### (autoloads (dired-do-relsymlink dired-jump) "dired-x" "dired-x.el" |
| 3988 | ;;;;;; "bb37ec379c0a523368794491b691fd8d") | 3988 | ;;;;;; "48197b7ca054193643e01957196dd491") |
| 3989 | ;;; Generated autoloads from dired-x.el | 3989 | ;;; Generated autoloads from dired-x.el |
| 3990 | 3990 | ||
| 3991 | (autoload 'dired-jump "dired-x" "\ | 3991 | (autoload 'dired-jump "dired-x" "\ |
diff --git a/lisp/emacs-lisp/cl-loaddefs.el b/lisp/emacs-lisp/cl-loaddefs.el index 7640a0b1575..e6ede1ed6d4 100644 --- a/lisp/emacs-lisp/cl-loaddefs.el +++ b/lisp/emacs-lisp/cl-loaddefs.el | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | ;;;;;; ceiling* floor* isqrt lcm gcd cl-progv-before cl-set-frame-visible-p | 10 | ;;;;;; ceiling* floor* isqrt lcm gcd cl-progv-before cl-set-frame-visible-p |
| 11 | ;;;;;; cl-map-overlays cl-map-intervals cl-map-keymap-recursively | 11 | ;;;;;; cl-map-overlays cl-map-intervals cl-map-keymap-recursively |
| 12 | ;;;;;; notevery notany every some mapcon mapcan mapl maplist map | 12 | ;;;;;; notevery notany every some mapcon mapcan mapl maplist map |
| 13 | ;;;;;; cl-mapcar-many equalp coerce) "cl-extra" "cl-extra.el" "d93072a26c59f663a92b10df8bc28187") | 13 | ;;;;;; cl-mapcar-many equalp coerce) "cl-extra" "cl-extra.el" "de874ef326082f133b0324505ad37330") |
| 14 | ;;; Generated autoloads from cl-extra.el | 14 | ;;; Generated autoloads from cl-extra.el |
| 15 | 15 | ||
| 16 | (autoload 'coerce "cl-extra" "\ | 16 | (autoload 'coerce "cl-extra" "\ |
| @@ -282,7 +282,7 @@ Not documented | |||
| 282 | ;;;;;; flet progv psetq do-all-symbols do-symbols dotimes dolist | 282 | ;;;;;; flet progv psetq do-all-symbols do-symbols dotimes dolist |
| 283 | ;;;;;; do* do loop return-from return block etypecase typecase ecase | 283 | ;;;;;; do* do loop return-from return block etypecase typecase ecase |
| 284 | ;;;;;; case load-time-value eval-when destructuring-bind function* | 284 | ;;;;;; case load-time-value eval-when destructuring-bind function* |
| 285 | ;;;;;; defmacro* defun* gentemp gensym) "cl-macs" "cl-macs.el" "49b7d96626dd8ba5d39551909edbd4c7") | 285 | ;;;;;; defmacro* defun* gentemp gensym) "cl-macs" "cl-macs.el" "fd4df570f1dcbf83cde740819ae3734a") |
| 286 | ;;; Generated autoloads from cl-macs.el | 286 | ;;; Generated autoloads from cl-macs.el |
| 287 | 287 | ||
| 288 | (autoload 'gensym "cl-macs" "\ | 288 | (autoload 'gensym "cl-macs" "\ |
| @@ -759,7 +759,7 @@ surrounded by (block NAME ...). | |||
| 759 | ;;;;;; find nsubstitute-if-not nsubstitute-if nsubstitute substitute-if-not | 759 | ;;;;;; find nsubstitute-if-not nsubstitute-if nsubstitute substitute-if-not |
| 760 | ;;;;;; substitute-if substitute delete-duplicates remove-duplicates | 760 | ;;;;;; substitute-if substitute delete-duplicates remove-duplicates |
| 761 | ;;;;;; delete-if-not delete-if delete* remove-if-not remove-if remove* | 761 | ;;;;;; delete-if-not delete-if delete* remove-if-not remove-if remove* |
| 762 | ;;;;;; replace fill reduce) "cl-seq" "cl-seq.el" "ec3ea1c77742734db8496272fe5721be") | 762 | ;;;;;; replace fill reduce) "cl-seq" "cl-seq.el" "ac5c427e92a38c5a2149acaa013caad9") |
| 763 | ;;; Generated autoloads from cl-seq.el | 763 | ;;; Generated autoloads from cl-seq.el |
| 764 | 764 | ||
| 765 | (autoload 'reduce "cl-seq" "\ | 765 | (autoload 'reduce "cl-seq" "\ |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 6328d99291a..5113a34e268 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -2641,7 +2641,7 @@ will be inserted before the group at point." | |||
| 2641 | ;;;;;; ibuffer-backward-filter-group ibuffer-forward-filter-group | 2641 | ;;;;;; ibuffer-backward-filter-group ibuffer-forward-filter-group |
| 2642 | ;;;;;; ibuffer-toggle-filter-group ibuffer-mouse-toggle-filter-group | 2642 | ;;;;;; ibuffer-toggle-filter-group ibuffer-mouse-toggle-filter-group |
| 2643 | ;;;;;; ibuffer-interactive-filter-by-mode ibuffer-mouse-filter-by-mode | 2643 | ;;;;;; ibuffer-interactive-filter-by-mode ibuffer-mouse-filter-by-mode |
| 2644 | ;;;;;; ibuffer-auto-mode) "ibuf-ext" "ibuf-ext.el" "4fb4f1a32cf4ecf4669a133a866f4a14") | 2644 | ;;;;;; ibuffer-auto-mode) "ibuf-ext" "ibuf-ext.el" "d98d015a69b22236de3cb1f7e456218b") |
| 2645 | ;;; Generated autoloads from ibuf-ext.el | 2645 | ;;; Generated autoloads from ibuf-ext.el |
| 2646 | 2646 | ||
| 2647 | (autoload 'ibuffer-auto-mode "ibuf-ext" "\ | 2647 | (autoload 'ibuffer-auto-mode "ibuf-ext" "\ |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 919c75604bc..1ca2e4b8dd1 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -4232,7 +4232,7 @@ encoded string (and the same mask) will decode the string." | |||
| 4232 | ;;; Start of automatically extracted autoloads. | 4232 | ;;; Start of automatically extracted autoloads. |
| 4233 | 4233 | ||
| 4234 | ;;;### (autoloads (rmail-edit-current-message) "rmailedit" "rmailedit.el" | 4234 | ;;;### (autoloads (rmail-edit-current-message) "rmailedit" "rmailedit.el" |
| 4235 | ;;;;;; "60db8013bf16d7999914a16cda435287") | 4235 | ;;;;;; "ecd28d8d92983488673388eced6fbf50") |
| 4236 | ;;; Generated autoloads from rmailedit.el | 4236 | ;;; Generated autoloads from rmailedit.el |
| 4237 | 4237 | ||
| 4238 | (autoload 'rmail-edit-current-message "rmailedit" "\ | 4238 | (autoload 'rmail-edit-current-message "rmailedit" "\ |
| @@ -4244,7 +4244,7 @@ Edit the contents of this message. | |||
| 4244 | 4244 | ||
| 4245 | ;;;### (autoloads (rmail-next-labeled-message rmail-previous-labeled-message | 4245 | ;;;### (autoloads (rmail-next-labeled-message rmail-previous-labeled-message |
| 4246 | ;;;;;; rmail-read-label rmail-kill-label rmail-add-label) "rmailkwd" | 4246 | ;;;;;; rmail-read-label rmail-kill-label rmail-add-label) "rmailkwd" |
| 4247 | ;;;;;; "rmailkwd.el" "7027ce1ac922c0dd51262b641e4d42c1") | 4247 | ;;;;;; "rmailkwd.el" "bc72ffe3652be6f4c72048ae8f226fce") |
| 4248 | ;;; Generated autoloads from rmailkwd.el | 4248 | ;;; Generated autoloads from rmailkwd.el |
| 4249 | 4249 | ||
| 4250 | (autoload 'rmail-add-label "rmailkwd" "\ | 4250 | (autoload 'rmail-add-label "rmailkwd" "\ |
| @@ -4287,7 +4287,7 @@ With prefix argument N moves forward N messages with these labels. | |||
| 4287 | 4287 | ||
| 4288 | ;;;*** | 4288 | ;;;*** |
| 4289 | 4289 | ||
| 4290 | ;;;### (autoloads (rmail-mime) "rmailmm" "rmailmm.el" "6c12c2d0563ae855f1069d7a80b8244a") | 4290 | ;;;### (autoloads (rmail-mime) "rmailmm" "rmailmm.el" "420a9c4619672f1f60f675126fbc9c08") |
| 4291 | ;;; Generated autoloads from rmailmm.el | 4291 | ;;; Generated autoloads from rmailmm.el |
| 4292 | 4292 | ||
| 4293 | (autoload 'rmail-mime "rmailmm" "\ | 4293 | (autoload 'rmail-mime "rmailmm" "\ |
| @@ -4313,7 +4313,7 @@ attachments as specfied by `rmail-mime-attachment-dirs-alist'. | |||
| 4313 | ;;;*** | 4313 | ;;;*** |
| 4314 | 4314 | ||
| 4315 | ;;;### (autoloads (set-rmail-inbox-list) "rmailmsc" "rmailmsc.el" | 4315 | ;;;### (autoloads (set-rmail-inbox-list) "rmailmsc" "rmailmsc.el" |
| 4316 | ;;;;;; "b2a72d4e370f2d2b31b6f8f0794820e4") | 4316 | ;;;;;; "9319e5b606ad5786c0c5994a307a38e8") |
| 4317 | ;;; Generated autoloads from rmailmsc.el | 4317 | ;;; Generated autoloads from rmailmsc.el |
| 4318 | 4318 | ||
| 4319 | (autoload 'set-rmail-inbox-list "rmailmsc" "\ | 4319 | (autoload 'set-rmail-inbox-list "rmailmsc" "\ |
| @@ -4329,7 +4329,7 @@ This applies only to the current session. | |||
| 4329 | 4329 | ||
| 4330 | ;;;### (autoloads (rmail-sort-by-labels rmail-sort-by-lines rmail-sort-by-correspondent | 4330 | ;;;### (autoloads (rmail-sort-by-labels rmail-sort-by-lines rmail-sort-by-correspondent |
| 4331 | ;;;;;; rmail-sort-by-recipient rmail-sort-by-author rmail-sort-by-subject | 4331 | ;;;;;; rmail-sort-by-recipient rmail-sort-by-author rmail-sort-by-subject |
| 4332 | ;;;;;; rmail-sort-by-date) "rmailsort" "rmailsort.el" "5a3b5ee477d2fbf79d0c566d776a7fd4") | 4332 | ;;;;;; rmail-sort-by-date) "rmailsort" "rmailsort.el" "16144a77fdc880034875fd624e4d73e6") |
| 4333 | ;;; Generated autoloads from rmailsort.el | 4333 | ;;; Generated autoloads from rmailsort.el |
| 4334 | 4334 | ||
| 4335 | (autoload 'rmail-sort-by-date "rmailsort" "\ | 4335 | (autoload 'rmail-sort-by-date "rmailsort" "\ |
| @@ -4388,7 +4388,7 @@ If prefix argument REVERSE is non-nil, sorts in reverse order. | |||
| 4388 | 4388 | ||
| 4389 | ;;;### (autoloads (rmail-summary-by-senders rmail-summary-by-topic | 4389 | ;;;### (autoloads (rmail-summary-by-senders rmail-summary-by-topic |
| 4390 | ;;;;;; rmail-summary-by-regexp rmail-summary-by-recipients rmail-summary-by-labels | 4390 | ;;;;;; rmail-summary-by-regexp rmail-summary-by-recipients rmail-summary-by-labels |
| 4391 | ;;;;;; rmail-summary) "rmailsum" "rmailsum.el" "d855683972baef7111d4508dffbb54b6") | 4391 | ;;;;;; rmail-summary) "rmailsum" "rmailsum.el" "6bcfd5937a56902944a929b89b33adaa") |
| 4392 | ;;; Generated autoloads from rmailsum.el | 4392 | ;;; Generated autoloads from rmailsum.el |
| 4393 | 4393 | ||
| 4394 | (autoload 'rmail-summary "rmailsum" "\ | 4394 | (autoload 'rmail-summary "rmailsum" "\ |
| @@ -4436,7 +4436,7 @@ SENDERS is a string of regexps separated by commas. | |||
| 4436 | ;;;*** | 4436 | ;;;*** |
| 4437 | 4437 | ||
| 4438 | ;;;### (autoloads (unforward-rmail-message undigestify-rmail-message) | 4438 | ;;;### (autoloads (unforward-rmail-message undigestify-rmail-message) |
| 4439 | ;;;;;; "undigest" "undigest.el" "8cf8a8ffa48eeddf0bde388fa8de1783") | 4439 | ;;;;;; "undigest" "undigest.el" "2869c38a0051d0acab1a5968627fa57d") |
| 4440 | ;;; Generated autoloads from undigest.el | 4440 | ;;; Generated autoloads from undigest.el |
| 4441 | 4441 | ||
| 4442 | (autoload 'undigestify-rmail-message "undigest" "\ | 4442 | (autoload 'undigestify-rmail-message "undigest" "\ |
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 52c0ab2b9c5..25cb9cac2df 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -6662,7 +6662,7 @@ If FACE is not a valid face name, use default face." | |||
| 6662 | ;; But autoload them here to make the separation invisible. | 6662 | ;; But autoload them here to make the separation invisible. |
| 6663 | 6663 | ||
| 6664 | ;;;### (autoloads (ps-mule-end-job ps-mule-begin-job ps-mule-initialize | 6664 | ;;;### (autoloads (ps-mule-end-job ps-mule-begin-job ps-mule-initialize |
| 6665 | ;;;;;; ps-multibyte-buffer) "ps-mule" "ps-mule.el" "18a8bc30e8755ff27de7267f4bce3d99") | 6665 | ;;;;;; ps-multibyte-buffer) "ps-mule" "ps-mule.el" "7fadcd6c4b18087e900bd21e6da5e854") |
| 6666 | ;;; Generated autoloads from ps-mule.el | 6666 | ;;; Generated autoloads from ps-mule.el |
| 6667 | 6667 | ||
| 6668 | (defvar ps-multibyte-buffer nil "\ | 6668 | (defvar ps-multibyte-buffer nil "\ |