Mercurial > emacs
annotate lisp/patcomp.el @ 65894:e0cf1ed38749
(recentf-menu-open-all-flag): New option.
(recentf-digit-shortcut-command-name): New function.
(recentf--shortcuts-keymap): New variable.
(recentf-menu-shortcuts): New variable.
(recentf-make-menu-items): Initialize it. Replace the "More..."
menu item by "All...", if `recentf-menu-open-all-flag' is non-nil.
(recentf-menu-value-shortcut): New function.
(recentf-make-menu-item): Use it. No more in-lined.
(recentf-dialog-mode-map): Base on `recentf--shortcuts-keymap'.
(recentf-open-most-recent-file): Rename from
`recentf-open-file-with-key'. Don't depend on key binding.
(recentf-mode-map): New variable.
(recentf-mode): Use it.
author | David Ponce <david@dponce.com> |
---|---|
date | Fri, 07 Oct 2005 07:52:31 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 1e3a407766b9 |
rev | line source |
---|---|
47726
33d53d287ee4
Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents:
38414
diff
changeset
|
1 ;;; patcomp.el --- used by patch files to update Emacs releases -*- no-byte-compile: t -*- |
10015 | 2 |
38414
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
22388
diff
changeset
|
3 ;; This file is part of GNU Emacs. |
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
22388
diff
changeset
|
4 |
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
22388
diff
changeset
|
5 ;;; Commentary: |
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
22388
diff
changeset
|
6 |
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
22388
diff
changeset
|
7 ;;; Code: |
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
22388
diff
changeset
|
8 |
10015 | 9 (defun batch-byte-recompile-emacs () |
10 "Recompile the Emacs `lisp' directory. | |
11 This is used after installing the patches for a new version." | |
12 (let ((load-path (list (expand-file-name "lisp")))) | |
13 (byte-recompile-directory "lisp"))) | |
10016
de27224b0b43
(batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents:
10015
diff
changeset
|
14 |
de27224b0b43
(batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents:
10015
diff
changeset
|
15 (defun batch-byte-compile-emacs () |
de27224b0b43
(batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents:
10015
diff
changeset
|
16 "Compile new files installed in the Emacs `lisp' directory. |
de27224b0b43
(batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents:
10015
diff
changeset
|
17 This is used after installing the patches for a new version. |
de27224b0b43
(batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents:
10015
diff
changeset
|
18 It uses the command line arguments to specify the files to compile." |
de27224b0b43
(batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents:
10015
diff
changeset
|
19 (let ((load-path (list (expand-file-name "lisp")))) |
de27224b0b43
(batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents:
10015
diff
changeset
|
20 (batch-byte-compile))) |
38414
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
22388
diff
changeset
|
21 |
52401 | 22 ;;; arch-tag: cb299b78-1d6c-4c02-945b-12fa2e856d6f |
38414
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
22388
diff
changeset
|
23 ;;; patcomp.el ends here |