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
5580f89d
Commit
5580f89d
authored
Dec 06, 2011
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/emacs-lisp/package.el (package-archives): Doc fix re riskiness.
parent
2bf26180
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/emacs-lisp/package.el
lisp/emacs-lisp/package.el
+6
-1
No files found.
lisp/ChangeLog
View file @
5580f89d
2011-12-06 Glenn Morris <rgm@gnu.org>
* emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2011-12-06 Chong Yidong <cyd@gnu.org>
2011-12-06 Chong Yidong <cyd@gnu.org>
* progmodes/cc-fonts.el (c-annotation-face): Use defface.
* progmodes/cc-fonts.el (c-annotation-face): Use defface.
...
...
lisp/emacs-lisp/package.el
View file @
5580f89d
...
@@ -113,6 +113,8 @@
...
@@ -113,6 +113,8 @@
;;; ToDo:
;;; ToDo:
;; - a trust mechanism, since compiling a package can run arbitrary code.
;; For example, download package signatures and check that they match.
;; - putting info dirs at the start of the info path means
;; - putting info dirs at the start of the info path means
;; users see a weird ordering of categories. OTOH we want to
;; users see a weird ordering of categories. OTOH we want to
;; override later entries. maybe emacs needs to enforce
;; override later entries. maybe emacs needs to enforce
...
@@ -224,7 +226,10 @@ Each element has the form (ID . LOCATION).
...
@@ -224,7 +226,10 @@ Each element has the form (ID . LOCATION).
LOCATION specifies the base location for the archive.
LOCATION specifies the base location for the archive.
If it starts with \"http:\", it is treated as a HTTP URL;
If it starts with \"http:\", it is treated as a HTTP URL;
otherwise it should be an absolute directory name.
otherwise it should be an absolute directory name.
(Other types of URL are currently not supported.)"
(Other types of URL are currently not supported.)
Only add locations that you trust, since fetching and installing
a package can run arbitrary code."
:type
'
(
alist
:key-type
(
string
:tag
"Archive name"
)
:type
'
(
alist
:key-type
(
string
:tag
"Archive name"
)
:value-type
(
string
:tag
"URL or directory name"
))
:value-type
(
string
:tag
"URL or directory name"
))
:risky
t
:risky
t
...
...
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