]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge from origin/emacs-27
authorGlenn Morris <rgm@gnu.org>
Sat, 16 May 2020 17:29:14 +0000 (10:29 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 16 May 2020 17:29:14 +0000 (10:29 -0700)
b4937f64cd (origin/emacs-27) Improve documentation of manually instal...
efd4e973a4 Reflect the emacs-devel ELPA/MELPA dispute in FAQ
28541674cd Consider face inheritance when checking region face backgr...
e75f6be6cc Fix dired default file operation (bug#41261)
406fb0746c Fix documentation related to 'command-switch-alist'.
747e0a2523 Improve ediff readability in misterioso theme (Bug#41221)
48830c73e7 Fix a crash in handle_display_spec
a37290a6f9 In x_hide_tip reset tip_last_frame for GTK+ tooltips only ...
3d81995692 Fix docstring of flymake-make-diagnostic (bug#40351)
632aa9d57a Go back to “Bahá’í”
e2406ff60f * lisp/dired.el (dired-toggle-marks): Doc fix.  (Bug#41097)

# Conflicts:
# doc/emacs/building.texi

1  2 
doc/emacs/building.texi
doc/emacs/package.texi
doc/lispref/os.texi
doc/misc/efaq.texi
etc/themes/misterioso-theme.el
lisp/dired-aux.el
lisp/dired.el
lisp/progmodes/flymake.el
lisp/simple.el
src/xdisp.c
src/xfns.c

index 77a0e807c2beb0ed6c2fe79ce48af2cd6a3ca8fa,fa60ce26621b0b858217eccf417e7e9b53cd0ba7..7074bd45d71c65090ba858580df3d6f6dc5b8a72
@@@ -1563,6 -1536,40 +1568,33 @@@ Automatic loading also occurs when comp
  prefix being completed.  To disable this feature, change the variable
  @code{help-enable-completion-autoload} to @code{nil}.
  
 -@vindex load-dangerous-libraries
 -@cindex Lisp files byte-compiled by XEmacs
 -  By default, Emacs refuses to load compiled Lisp files which were
 -compiled with XEmacs, a modified version of Emacs---they can cause
 -Emacs to crash.  Set the variable @code{load-dangerous-libraries} to
 -@code{t} if you want to try loading them.
 -
+   Once you put your library in a directory where Emacs can find and
+ load it, you may wish to make it available at startup.  This is useful
+ when the library defines features that should be available
+ automatically on demand, and manually loading the library is thus
+ inconvenient.  In these cases, make sure the library will be loaded by
+ adding suitable forms to your init file: either @code{load} or
+ @code{require} (if you always need to load the library at startup), or
+ @code{autoload} if you need Emacs to load the library when some
+ command or function is invoked.  For example:
+ @smalllisp
+ @group
+  ;; Loads @file{my-shining-package.elc} unconditionally.
+  (require 'my-shining-package)
+ @end group
+ @group
+  ;; Will load @file{my-shining-package.elc} when @code{my-func} is invoked.
+  (autoload 'my-func "my-shining-package")
+ @end group
+ @end smalllisp
+   Note that installing a package using @code{package-install}
+ (@pxref{Package Installation}) takes care of placing the package's
+ Lisp files in a directory where Emacs will find it, and also writes
+ the necessary initialization code into your init files, making the
+ above manual customizations unnecessary.
  @node Lisp Eval
  @section Evaluating Emacs Lisp Expressions
  @cindex Emacs Lisp mode
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc lisp/dired.el
Simple merge
Simple merge
diff --cc lisp/simple.el
Simple merge
diff --cc src/xdisp.c
Simple merge
diff --cc src/xfns.c
Simple merge