Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
55b056ba
Commit
55b056ba
authored
Feb 06, 2013
by
Nicolas Richard
Committed by
Bastien Guerry
Feb 06, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* emacs-lisp/package.el (describe-package-1): Tell what archive is used to
install the package. Patch by Nicolas Richard.
parent
5fd03926
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/package.el
lisp/emacs-lisp/package.el
+6
-3
No files found.
lisp/ChangeLog
View file @
55b056ba
2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
* emacs-lisp/package.el (describe-package-1): Tell what archive is
used to install the package.
2013-02-06 Glenn Morris <rgm@gnu.org>
* vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
...
...
lisp/emacs-lisp/package.el
View file @
55b056ba
...
...
@@ -1182,7 +1182,7 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages."
(
require
'lisp-mnt
)
(
let
((
package-name
(
symbol-name
package
))
(
built-in
(
assq
package
package--builtins
))
desc
pkg-dir
reqs
version
installable
)
desc
pkg-dir
reqs
version
installable
archive
)
(
prin1
package
)
(
princ
" is "
)
(
cond
...
...
@@ -1196,6 +1196,7 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages."
;; Available packages are in `package-archive-contents'.
((
setq
desc
(
cdr
(
assq
package
package-archive-contents
)))
(
setq
version
(
package-version-join
(
package-desc-vers
desc
))
archive
(
aref
desc
(
-
(
length
desc
)
1
))
installable
t
)
(
if
built-in
(
insert
"a built-in package.\n\n"
)
...
...
@@ -1224,8 +1225,10 @@ If optional arg NO-ACTIVATE is non-nil, don't activate packages."
(
installable
(
if
built-in
(
insert
(
propertize
"Built-in."
'font-lock-face
'font-lock-builtin-face
)
" Alternate version available -- "
)
(
insert
"Available -- "
))
" Alternate version available"
)
(
insert
"Available"
))
(
insert
" from "
archive
)
(
insert
" -- "
)
(
let
((
button-text
(
if
(
display-graphic-p
)
"Install"
"[Install]"
))
(
button-face
(
if
(
display-graphic-p
)
'
(
:box
(
:line-width
2
:color
"dark grey"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment