Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 767

Emacs includes a facility that lets you easily download and install packages that implement additional features. Each package is a separate Emacs Lisp program, sometimes including other components such as an Info manual.

5 votes
3 answers
153 views

How can I avoid accidentally editing installed packages while still being able to install ne...

dir-locals-set-directory-class (concat user-emacs-directory "elpa") 'emacs) (dir-locals-set-directory-class (locate-dominating-file (locate-library "winner") "lisp") 'emacs) This worked fine until I went to install a new package
Gina White's user avatar
4 votes

How can I avoid accidentally editing installed packages while still being able to install ne...

Adding following hack, which temporarily inhibits read-only-mode, is working for me: (advice-add 'package-install-from-archive :around (lambda (orig-fun &rest args) (let ((inhibit-read-only … looks like: (dir-locals-set-directory-class (concat user-emacs-directory "elpa") 'emacs) (dir-locals-set-directory-class (locate-dominating-file (locate-library "winner") "lisp") 'emacs) (advice-add 'package-install-from-archive …
Gina White's user avatar