aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2012-12-01 03:15:40 +0100
committerJoakim Verona2012-12-01 03:15:40 +0100
commite850af191d08aba37a2812e211b72be0abce9aab (patch)
treebe4c8637917bd6f1b44ea62bda4e42945ccfb92c
parentb4ac236ebbc04bb253cbe797ae7c59ca6332a38f (diff)
parent3ddbf803756fec0f773e0f5ba6f6a79044c44829 (diff)
downloademacs-e850af191d08aba37a2812e211b72be0abce9aab.tar.gz
emacs-e850af191d08aba37a2812e211b72be0abce9aab.zip
auto upstream
-rw-r--r--lisp/ChangeLog13
-rw-r--r--lisp/ChangeLog.152
-rw-r--r--lisp/files.el14
-rw-r--r--lisp/startup.el7
-rw-r--r--lisp/vc/vc-hg.el2
5 files changed, 27 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b71cc72baf2..4dc694e486c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,8 +1,21 @@
12012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2
3 * vc/vc-hg.el (vc-hg-next-revision):
4 Ensure use of default "tip" output format. (Bug#6968)
5
62012-12-01 Kim F. Storm <storm@cua.dk>
7
8 * startup.el (fancy-startup-tail): Add a clickable link
9 (Bug#2176).
10
12012-12-01 Chong Yidong <cyd@gnu.org> 112012-12-01 Chong Yidong <cyd@gnu.org>
2 12
3 * startup.el (fancy-startup-tail): Improve the message about 13 * startup.el (fancy-startup-tail): Improve the message about
4 auto-save files (Bug#2176). 14 auto-save files (Bug#2176).
5 15
16 * files.el (recover-session): Improve the descriptive message, and
17 use substitute-command-keys.
18
62012-12-01 Glenn Morris <rgm@gnu.org> 192012-12-01 Glenn Morris <rgm@gnu.org>
7 20
8 * ido.el (ido-file-internal): 21 * ido.el (ido-file-internal):
diff --git a/lisp/ChangeLog.15 b/lisp/ChangeLog.15
index 83657a98bfd..b97cd80cdba 100644
--- a/lisp/ChangeLog.15
+++ b/lisp/ChangeLog.15
@@ -7979,7 +7979,7 @@
7979 Remember the buffers at head, rather than their name. 7979 Remember the buffers at head, rather than their name.
7980 * iswitchb.el (iswitchb-kill-buffer): Re-make the list. 7980 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7981 7981
79822010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change) 79822010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net>
7983 Stefan Monnier <monnier@iro.umontreal.ca> 7983 Stefan Monnier <monnier@iro.umontreal.ca>
7984 7984
7985 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the 7985 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
diff --git a/lisp/files.el b/lisp/files.el
index e03b02193a4..1bb140c0562 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -5417,18 +5417,20 @@ Then you'll be asked about a number of files to recover."
5417 (let ((ls-lisp-support-shell-wildcards t)) 5417 (let ((ls-lisp-support-shell-wildcards t))
5418 (dired (concat auto-save-list-file-prefix "*") 5418 (dired (concat auto-save-list-file-prefix "*")
5419 (concat dired-listing-switches " -t"))) 5419 (concat dired-listing-switches " -t")))
5420 (use-local-map (nconc (make-sparse-keymap) (current-local-map)))
5421 (define-key (current-local-map) "\C-c\C-c" 'recover-session-finish)
5420 (save-excursion 5422 (save-excursion
5421 (goto-char (point-min)) 5423 (goto-char (point-min))
5422 (or (looking-at " Move to the session you want to recover,") 5424 (or (looking-at " Move to the session you want to recover,")
5423 (let ((inhibit-read-only t)) 5425 (let ((inhibit-read-only t))
5424 ;; Each line starts with a space 5426 ;; Each line starts with a space
5425 ;; so that Font Lock mode won't highlight the first character. 5427 ;; so that Font Lock mode won't highlight the first character.
5426 (insert " Move to the session you want to recover,\n" 5428 (insert " To recover a session, move to it and type C-c C-c.\n"
5427 " then type C-c C-c to select it.\n\n" 5429 (substitute-command-keys
5428 " You can also delete some of these files;\n" 5430 " To delete a session file, type \
5429 " type d on a line to mark that file for deletion.\n\n")))) 5431\\[dired-flag-file-deletion] on its line to flag
5430 (use-local-map (nconc (make-sparse-keymap) (current-local-map))) 5432 the file for deletion, then \\[dired-do-flagged-delete] to \
5431 (define-key (current-local-map) "\C-c\C-c" 'recover-session-finish)) 5433delete flagged files.\n\n"))))))
5432 5434
5433(defun recover-session-finish () 5435(defun recover-session-finish ()
5434 "Choose one saved session to recover auto-save files from. 5436 "Choose one saved session to recover auto-save files from.
diff --git a/lisp/startup.el b/lisp/startup.el
index 03181a79b15..ec6d45a294d 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1582,9 +1582,10 @@ a face or button specification."
1582 "\nAn auto-save file list was found. " 1582 "\nAn auto-save file list was found. "
1583 "\nAuto-save file lists were found. ") 1583 "\nAuto-save file lists were found. ")
1584 "If an Emacs session crashed recently,\ntype " 1584 "If an Emacs session crashed recently,\ntype "
1585 :face '(fixed-pitch font-lock-comment-face) 1585 :link `("M-x recover-session RET"
1586 "M-x recover-session RET" 1586 ,(lambda (_button)
1587 :face '(variable-pitch font-lock-comment-face) 1587 (call-interactively
1588 'recover-session)))
1588 " to recover the files you were editing.")))) 1589 " to recover the files you were editing."))))
1589 1590
1590 (when concise 1591 (when concise
diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el
index 727fb08e388..50678fad075 100644
--- a/lisp/vc/vc-hg.el
+++ b/lisp/vc/vc-hg.el
@@ -384,7 +384,7 @@ Optional arg REVISION is a revision to annotate from."
384 (let ((newrev (1+ (string-to-number rev))) 384 (let ((newrev (1+ (string-to-number rev)))
385 (tip-revision 385 (tip-revision
386 (with-temp-buffer 386 (with-temp-buffer
387 (vc-hg-command t 0 nil "tip") 387 (vc-hg-command t 0 nil "tip" "--style=default")
388 (goto-char (point-min)) 388 (goto-char (point-min))
389 (re-search-forward "^changeset:[ \t]*\\([0-9]+\\):") 389 (re-search-forward "^changeset:[ \t]*\\([0-9]+\\):")
390 (string-to-number (match-string-no-properties 1))))) 390 (string-to-number (match-string-no-properties 1)))))