aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog20
-rw-r--r--lisp/dired.el16
-rw-r--r--lisp/emacs-lisp/cl-loaddefs.el4
-rw-r--r--lisp/emacs-lisp/cl-macs.el2
-rw-r--r--lisp/minibuffer.el2
-rw-r--r--lisp/time.el19
6 files changed, 41 insertions, 22 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5b709c76c74..1150b68fe0f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,25 @@
12012-10-25 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4
52012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * minibuffer.el (minibuffer-force-complete): Use one more marker
8 for the temporary-overlay-map command (bug#12619).
9
12012-10-24 Chong Yidong <cyd@gnu.org> 102012-10-24 Chong Yidong <cyd@gnu.org>
2 11
12 * time.el (display-time-world-mode): Derive from special-mode.
13 (display-time-world): Use display-buffer (Bug#12708).
14 (display-time-world-mode-map): Variable deleted.
15 (display-time-world-display): Wrap the final delete-char inside
16 inhibit-read-only.
17
182012-10-24 Chong Yidong <cyd@gnu.org>
19
20 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
21 Doc fix.
22
3 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628). 23 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4 24
52012-10-24 Stefan Monnier <monnier@iro.umontreal.ca> 252012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/lisp/dired.el b/lisp/dired.el
index a4bc16caebf..9094ce08f0a 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -3107,10 +3107,11 @@ argument or confirmation)."
3107 (forward-line 1)))) 3107 (forward-line 1))))
3108 3108
3109(defun dired-mark (arg) 3109(defun dired-mark (arg)
3110 "Mark the current (or next ARG) files. 3110 "Mark the file at point in the Dired buffer.
3111If the region is active, mark all files in the region.
3112Otherwise, with a prefix arg, mark files on the next ARG lines.
3113
3111If on a subdir headerline, mark all its files except `.' and `..'. 3114If on a subdir headerline, mark all its files except `.' and `..'.
3112If the region is active in Transient Mark mode, mark all files
3113in the active region.
3114 3115
3115Use \\[dired-unmark-all-files] to remove all marks 3116Use \\[dired-unmark-all-files] to remove all marks
3116and \\[dired-unmark] on a subdir to remove the marks in 3117and \\[dired-unmark] on a subdir to remove the marks in
@@ -3136,7 +3137,10 @@ this subdir."
3136 (function (lambda () (delete-char 1) (insert dired-marker-char)))))))) 3137 (function (lambda () (delete-char 1) (insert dired-marker-char))))))))
3137 3138
3138(defun dired-unmark (arg) 3139(defun dired-unmark (arg)
3139 "Unmark the current (or next ARG) files. 3140 "Unmark the file at point in the Dired buffer.
3141If the region is active, unmark all files in the region.
3142Otherwise, with a prefix arg, unmark files on the next ARG lines.
3143
3140If looking at a subdir, unmark all its files except `.' and `..'. 3144If looking at a subdir, unmark all its files except `.' and `..'.
3141If the region is active in Transient Mark mode, unmark all files 3145If the region is active in Transient Mark mode, unmark all files
3142in the active region." 3146in the active region."
@@ -3146,7 +3150,9 @@ in the active region."
3146 3150
3147(defun dired-flag-file-deletion (arg) 3151(defun dired-flag-file-deletion (arg)
3148 "In Dired, flag the current line's file for deletion. 3152 "In Dired, flag the current line's file for deletion.
3149With prefix arg, repeat over several lines. 3153If the region is active, flag all files in the region.
3154Otherwise, with a prefix arg, flag files on the next ARG lines.
3155
3150If on a subdir headerline, flag all its files except `.' and `..'. 3156If on a subdir headerline, flag all its files except `.' and `..'.
3151If the region is active in Transient Mark mode, flag all files 3157If the region is active in Transient Mark mode, flag all files
3152in the active region." 3158in the active region."
diff --git a/lisp/emacs-lisp/cl-loaddefs.el b/lisp/emacs-lisp/cl-loaddefs.el
index 22e22a386f8..684ea42b157 100644
--- a/lisp/emacs-lisp/cl-loaddefs.el
+++ b/lisp/emacs-lisp/cl-loaddefs.el
@@ -260,7 +260,7 @@ Remove from SYMBOL's plist the property PROPNAME and its value.
260;;;;;; cl-typecase cl-ecase cl-case cl-load-time-value cl-eval-when 260;;;;;; cl-typecase cl-ecase cl-case cl-load-time-value cl-eval-when
261;;;;;; cl-destructuring-bind cl-function cl-defmacro cl-defun cl-gentemp 261;;;;;; cl-destructuring-bind cl-function cl-defmacro cl-defun cl-gentemp
262;;;;;; cl-gensym cl--compiler-macro-cXXr cl--compiler-macro-list*) 262;;;;;; cl-gensym cl--compiler-macro-cXXr cl--compiler-macro-list*)
263;;;;;; "cl-macs" "cl-macs.el" "d257add5929b6a681d1c3f6642f5c648") 263;;;;;; "cl-macs" "cl-macs.el" "366e9efa4e3e7a81b2253e503611b23a")
264;;; Generated autoloads from cl-macs.el 264;;; Generated autoloads from cl-macs.el
265 265
266(autoload 'cl--compiler-macro-list* "cl-macs" "\ 266(autoload 'cl--compiler-macro-list* "cl-macs" "\
@@ -485,7 +485,7 @@ before assigning any symbols SYM to the corresponding values.
485Bind SYMBOLS to VALUES dynamically in BODY. 485Bind SYMBOLS to VALUES dynamically in BODY.
486The forms SYMBOLS and VALUES are evaluated, and must evaluate to lists. 486The forms SYMBOLS and VALUES are evaluated, and must evaluate to lists.
487Each symbol in the first list is bound to the corresponding value in the 487Each symbol in the first list is bound to the corresponding value in the
488second list (or made unbound if VALUES is shorter than SYMBOLS); then the 488second list (or to nil if VALUES is shorter than SYMBOLS); then the
489BODY forms are executed and their result is returned. This is much like 489BODY forms are executed and their result is returned. This is much like
490a `let' form, except that the list of symbols can be computed at run-time. 490a `let' form, except that the list of symbols can be computed at run-time.
491 491
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 9f147b70c8c..555b31493fe 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -1603,7 +1603,7 @@ before assigning any symbols SYM to the corresponding values.
1603 "Bind SYMBOLS to VALUES dynamically in BODY. 1603 "Bind SYMBOLS to VALUES dynamically in BODY.
1604The forms SYMBOLS and VALUES are evaluated, and must evaluate to lists. 1604The forms SYMBOLS and VALUES are evaluated, and must evaluate to lists.
1605Each symbol in the first list is bound to the corresponding value in the 1605Each symbol in the first list is bound to the corresponding value in the
1606second list (or made unbound if VALUES is shorter than SYMBOLS); then the 1606second list (or to nil if VALUES is shorter than SYMBOLS); then the
1607BODY forms are executed and their result is returned. This is much like 1607BODY forms are executed and their result is returned. This is much like
1608a `let' form, except that the list of symbols can be computed at run-time." 1608a `let' form, except that the list of symbols can be computed at run-time."
1609 (declare (indent 2) (debug (form form body))) 1609 (declare (indent 2) (debug (form form body)))
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 27050042b83..4267fe4db4f 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -1114,7 +1114,7 @@ Repeated uses step through the possible completions."
1114 ;; FIXME: Need to deal with the extra-size issue here as well. 1114 ;; FIXME: Need to deal with the extra-size issue here as well.
1115 ;; FIXME: ~/src/emacs/t<M-TAB>/lisp/minibuffer.el completes to 1115 ;; FIXME: ~/src/emacs/t<M-TAB>/lisp/minibuffer.el completes to
1116 ;; ~/src/emacs/trunk/ and throws away lisp/minibuffer.el. 1116 ;; ~/src/emacs/trunk/ and throws away lisp/minibuffer.el.
1117 (let* ((start (field-beginning)) 1117 (let* ((start (copy-marker (field-beginning)))
1118 (end (field-end)) 1118 (end (field-end))
1119 ;; (md (completion--field-metadata start)) 1119 ;; (md (completion--field-metadata start))
1120 (all (completion-all-sorted-completions)) 1120 (all (completion-all-sorted-completions))
diff --git a/lisp/time.el b/lisp/time.el
index fe3cdbb57be..7473994ffa5 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -206,12 +206,6 @@ a string to display as the label of that TIMEZONE's time."
206 :type 'integer 206 :type 'integer
207 :version "23.1") 207 :version "23.1")
208 208
209(defvar display-time-world-mode-map
210 (let ((map (make-sparse-keymap)))
211 (define-key map "q" 'kill-this-buffer)
212 map)
213 "Keymap of Display Time World mode.")
214
215;;;###autoload 209;;;###autoload
216(defun display-time () 210(defun display-time ()
217 "Enable display of time, load level, and mail flag in mode lines. 211 "Enable display of time, load level, and mail flag in mode lines.
@@ -523,7 +517,7 @@ runs the normal hook `display-time-hook' after each update."
523 'display-time-event-handler))) 517 'display-time-event-handler)))
524 518
525 519
526(define-derived-mode display-time-world-mode nil "World clock" 520(define-derived-mode display-time-world-mode special-mode "World clock"
527 "Major mode for buffer that displays times in various time zones. 521 "Major mode for buffer that displays times in various time zones.
528See `display-time-world'." 522See `display-time-world'."
529 (setq show-trailing-whitespace nil)) 523 (setq show-trailing-whitespace nil))
@@ -549,8 +543,8 @@ See `display-time-world'."
549 (setenv "TZ" old-tz)) 543 (setenv "TZ" old-tz))
550 (setq fmt (concat "%-" (int-to-string max-width) "s %s\n")) 544 (setq fmt (concat "%-" (int-to-string max-width) "s %s\n"))
551 (dolist (timedata (nreverse result)) 545 (dolist (timedata (nreverse result))
552 (insert (format fmt (car timedata) (cdr timedata))))) 546 (insert (format fmt (car timedata) (cdr timedata))))
553 (delete-char -1)) 547 (delete-char -1)))
554 548
555;;;###autoload 549;;;###autoload
556(defun display-time-world () 550(defun display-time-world ()
@@ -562,10 +556,9 @@ To turn off the world time display, go to that window and type `q'."
562 (not (get-buffer display-time-world-buffer-name))) 556 (not (get-buffer display-time-world-buffer-name)))
563 (run-at-time t display-time-world-timer-second 'display-time-world-timer)) 557 (run-at-time t display-time-world-timer-second 'display-time-world-timer))
564 (with-current-buffer (get-buffer-create display-time-world-buffer-name) 558 (with-current-buffer (get-buffer-create display-time-world-buffer-name)
565 (display-time-world-display display-time-world-list)) 559 (display-time-world-display display-time-world-list)
566 (pop-to-buffer display-time-world-buffer-name) 560 (display-buffer display-time-world-buffer-name)
567 (fit-window-to-buffer) 561 (display-time-world-mode)))
568 (display-time-world-mode))
569 562
570(defun display-time-world-timer () 563(defun display-time-world-timer ()
571 (if (get-buffer display-time-world-buffer-name) 564 (if (get-buffer display-time-world-buffer-name)