diff options
| author | Joakim Verona | 2013-02-07 00:03:33 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-02-07 00:03:33 +0100 |
| commit | c1f14e5219537daed5ecf420ca6ba3070bdf1142 (patch) | |
| tree | 96a5099a104dd2641fa757999ceb48ed683e7df3 | |
| parent | 30e558238d54c437d96e94ab82d00fd92d120c9c (diff) | |
| parent | 55b056bacf43ae3daeebe484911ef3c8acbc9516 (diff) | |
| download | emacs-c1f14e5219537daed5ecf420ca6ba3070bdf1142.tar.gz emacs-c1f14e5219537daed5ecf420ca6ba3070bdf1142.zip | |
auto upstream
| -rw-r--r-- | lisp/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 9 | ||||
| -rw-r--r-- | lisp/startup.el | 17 | ||||
| -rw-r--r-- | lisp/vc/vc-hooks.el | 7 |
4 files changed, 39 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 538206ae9d0..f87bdddacda 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change) | ||
| 2 | |||
| 3 | * emacs-lisp/package.el (describe-package-1): Tell what archive is | ||
| 4 | used to install the package. | ||
| 5 | |||
| 6 | 2013-02-06 Glenn Morris <rgm@gnu.org> | ||
| 7 | |||
| 8 | * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links | ||
| 9 | if we can't get user input. (Bug#6567) | ||
| 10 | |||
| 11 | * startup.el (command-line): If simple.el is missing, | ||
| 12 | test and warn about for some possible causes. | ||
| 13 | |||
| 1 | 2013-02-05 Jan Djärv <jan.h.d@swipnet.se> | 14 | 2013-02-05 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 15 | ||
| 3 | * cus-start.el (all): Add ns-use-native-fullscreen. | 16 | * cus-start.el (all): Add ns-use-native-fullscreen. |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 6059f03f999..dd828691158 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -1182,7 +1182,7 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages." | |||
| 1182 | (require 'lisp-mnt) | 1182 | (require 'lisp-mnt) |
| 1183 | (let ((package-name (symbol-name package)) | 1183 | (let ((package-name (symbol-name package)) |
| 1184 | (built-in (assq package package--builtins)) | 1184 | (built-in (assq package package--builtins)) |
| 1185 | desc pkg-dir reqs version installable) | 1185 | desc pkg-dir reqs version installable archive) |
| 1186 | (prin1 package) | 1186 | (prin1 package) |
| 1187 | (princ " is ") | 1187 | (princ " is ") |
| 1188 | (cond | 1188 | (cond |
| @@ -1196,6 +1196,7 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages." | |||
| 1196 | ;; Available packages are in `package-archive-contents'. | 1196 | ;; Available packages are in `package-archive-contents'. |
| 1197 | ((setq desc (cdr (assq package package-archive-contents))) | 1197 | ((setq desc (cdr (assq package package-archive-contents))) |
| 1198 | (setq version (package-version-join (package-desc-vers desc)) | 1198 | (setq version (package-version-join (package-desc-vers desc)) |
| 1199 | archive (aref desc (- (length desc) 1)) | ||
| 1199 | installable t) | 1200 | installable t) |
| 1200 | (if built-in | 1201 | (if built-in |
| 1201 | (insert "a built-in package.\n\n") | 1202 | (insert "a built-in package.\n\n") |
| @@ -1224,8 +1225,10 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages." | |||
| 1224 | (installable | 1225 | (installable |
| 1225 | (if built-in | 1226 | (if built-in |
| 1226 | (insert (propertize "Built-in." 'font-lock-face 'font-lock-builtin-face) | 1227 | (insert (propertize "Built-in." 'font-lock-face 'font-lock-builtin-face) |
| 1227 | " Alternate version available -- ") | 1228 | " Alternate version available") |
| 1228 | (insert "Available -- ")) | 1229 | (insert "Available")) |
| 1230 | (insert " from " archive) | ||
| 1231 | (insert " -- ") | ||
| 1229 | (let ((button-text (if (display-graphic-p) "Install" "[Install]")) | 1232 | (let ((button-text (if (display-graphic-p) "Install" "[Install]")) |
| 1230 | (button-face (if (display-graphic-p) | 1233 | (button-face (if (display-graphic-p) |
| 1231 | '(:box (:line-width 2 :color "dark grey") | 1234 | '(:box (:line-width 2 :color "dark grey") |
diff --git a/lisp/startup.el b/lisp/startup.el index 5406c0f6513..741c5aa9b46 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -770,11 +770,20 @@ Amongst another things, it parses the command-line arguments." | |||
| 770 | (locate-file "simple" load-path (get-load-suffixes))) | 770 | (locate-file "simple" load-path (get-load-suffixes))) |
| 771 | lisp-dir) | 771 | lisp-dir) |
| 772 | ;; Don't abort if simple.el cannot be found, but print a warning. | 772 | ;; Don't abort if simple.el cannot be found, but print a warning. |
| 773 | ;; Although in most usage we are going to cryptically abort a moment | ||
| 774 | ;; later anyway, due to missing required bidi data files (eg bug#13430). | ||
| 773 | (if (null simple-file-name) | 775 | (if (null simple-file-name) |
| 774 | (progn | 776 | (let ((standard-output 'external-debugging-output) |
| 775 | (princ "Warning: Could not find simple.el nor simple.elc" | 777 | (lispdir (expand-file-name "../lisp" data-directory))) |
| 776 | 'external-debugging-output) | 778 | (princ "Warning: Could not find simple.el or simple.elc") |
| 777 | (terpri 'external-debugging-output)) | 779 | (terpri) |
| 780 | (when (getenv "EMACSLOADPATH") | ||
| 781 | (princ "The EMACSLOADPATH environment variable is set, \ | ||
| 782 | please check its value") | ||
| 783 | (terpri)) | ||
| 784 | (unless (file-readable-p lispdir) | ||
| 785 | (princ (format "Lisp directory %s not readable?" lispdir)) | ||
| 786 | (terpri))) | ||
| 778 | (setq lisp-dir (file-truename (file-name-directory simple-file-name))) | 787 | (setq lisp-dir (file-truename (file-name-directory simple-file-name))) |
| 779 | (setq load-history | 788 | (setq load-history |
| 780 | (mapcar (lambda (elt) | 789 | (mapcar (lambda (elt) |
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index 541b0c04b0b..818b37b3c34 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el | |||
| @@ -866,6 +866,13 @@ current, and kill the buffer that visits the link." | |||
| 866 | (message | 866 | (message |
| 867 | "Warning: symbolic link to %s-controlled source file" link-type)) | 867 | "Warning: symbolic link to %s-controlled source file" link-type)) |
| 868 | ((or (not (eq vc-follow-symlinks 'ask)) | 868 | ((or (not (eq vc-follow-symlinks 'ask)) |
| 869 | ;; Assume we cannot ask, default to yes. | ||
| 870 | noninteractive | ||
| 871 | ;; Copied from server-start. Seems like there should | ||
| 872 | ;; be a better way to ask "can we get user input?"... | ||
| 873 | (and (daemonp) | ||
| 874 | (null (cdr (frame-list))) | ||
| 875 | (eq (selected-frame) terminal-frame)) | ||
| 869 | ;; If we already visited this file by following | 876 | ;; If we already visited this file by following |
| 870 | ;; the link, don't ask again if we try to visit | 877 | ;; the link, don't ask again if we try to visit |
| 871 | ;; it again. GUD does that, and repeated questions | 878 | ;; it again. GUD does that, and repeated questions |