mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Update docstrings and comments to use "init file" terminology.
* bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes. * comint.el (comint-prompt-read-only): * custom.el (defcustom): * hi-lock.el (hi-lock-mode): * ibuffer.el (ibuffer-formats): * ielm.el (ielm-prompt-read-only): * novice.el (disable-command): * saveplace.el (toggle-save-place): * speedbar.el (speedbar-supported-extension-expressions): * startup.el (auto-save-list-file-prefix, init-file-user) (after-init-hook, inhibit-startup-echo-area-message): * strokes.el (strokes-help): * time-stamp.el (time-stamp): * calendar/calendar.el (calendar, diary-file): * calendar/diary-lib.el (diary-mail-entries, diary) (diary-list-entries-hook): * calendar/holidays.el (holidays, calendar-holidays): * calendar/lunar.el (lunar-phases): * calendar/solar.el (sunrise-sunset): * emulation/edt.el (edt-load-keys): * emulation/viper.el (viper-mode): * eshell/em-alias.el (eshell-command-aliases-list): * eshell/esh-util.el (eshell-convert-numeric-arguments): * international/ogonek.el (ogonek-information): * net/tramp-cmds.el (tramp-bug): * net/quickurl.el (quickurl-reread-hook-postfix): * play/decipher.el (decipher-font-lock-keywords): * progmodes/cc-styles.el (c-set-style): * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern): * progmodes/inf-lisp.el (inferior-lisp-prompt): * progmodes/octave-mod.el (octave-mode): * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password): * progmodes/verilog-mode.el (verilog-read-defines): * textmodes/two-column.el (2C-mode): Likewise.
This commit is contained in:
parent
d079ee5ffe
commit
865fe16fd2
104 changed files with 238 additions and 225 deletions
|
|
@ -200,19 +200,21 @@ holidays), or hard copy output."
|
|||
'diary-list-entries-hook "23.1")
|
||||
|
||||
(defcustom diary-list-entries-hook nil
|
||||
"List of functions called after diary file is culled for relevant entries.
|
||||
You might wish to add `diary-include-other-diary-files', in which case
|
||||
you will probably also want to add `diary-mark-included-diary-files' to
|
||||
`diary-mark-entries-hook'. For example, you could use
|
||||
"Hook run after diary file is culled for relevant entries.
|
||||
|
||||
If you add `diary-include-other-diary-files' to this hook, you
|
||||
will probably also want to add `diary-mark-included-diary-files'
|
||||
to `diary-mark-entries-hook'. For example, to cause the fancy
|
||||
diary buffer to be displayed with diary entries from various
|
||||
included files, each day's entries sorted into lexicographic
|
||||
order, add the following to your init file:
|
||||
|
||||
(setq diary-display-function 'diary-fancy-display)
|
||||
(add-hook 'diary-list-entries-hook 'diary-include-other-diary-files)
|
||||
(add-hook 'diary-list-entries-hook 'diary-sort-entries t)
|
||||
|
||||
in your `.emacs' file to cause the fancy diary buffer to be displayed with
|
||||
diary entries from various included files, each day's entries sorted into
|
||||
lexicographic order. Note how the sort function is placed last,
|
||||
so that it can sort the entries included from other files.
|
||||
Note how the sort function is placed last, so that it can sort
|
||||
the entries included from other files.
|
||||
|
||||
This hook runs after `diary-nongregorian-listing-hook'. These two hooks
|
||||
differ only if you are using included diary files. In that case,
|
||||
|
|
@ -532,7 +534,7 @@ If so, return the expanded file name, otherwise signal an error."
|
|||
"Generate the diary window for ARG days starting with the current date.
|
||||
If no argument is provided, the number of days of diary entries is governed
|
||||
by the variable `diary-number-of-entries'. A value of ARG less than 1
|
||||
does nothing. This function is suitable for execution in a `.emacs' file."
|
||||
does nothing. This function is suitable for execution in an init file."
|
||||
(interactive "P")
|
||||
(diary-check-diary-file)
|
||||
(diary-list-entries (calendar-current-date)
|
||||
|
|
@ -1230,8 +1232,8 @@ Mail is sent to the address specified by `diary-mail-addr'.
|
|||
|
||||
Here is an example of a script to call `diary-mail-entries',
|
||||
suitable for regular scheduling using cron (or at). Note that
|
||||
since `emacs -script' does not load your `.emacs' file, you
|
||||
should ensure that all relevant variables are set.
|
||||
since `emacs -script' does not load your init file, you should
|
||||
ensure that all relevant variables are set.
|
||||
|
||||
#!/usr/bin/emacs -script
|
||||
;; diary-rem.el - run the Emacs diary-reminder
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue