mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 23:10:28 -08:00
(lisp-mode-variables): Prevent adaptive
filling from using prefix when filling a single-line docstring.
This commit is contained in:
parent
0ea7c863fb
commit
c13ce396ae
2 changed files with 21 additions and 10 deletions
|
|
@ -1,7 +1,16 @@
|
|||
2005-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* emacs-lisp/lisp-mode.el (lisp-mode-variables): Prevent adaptive
|
||||
filling from using prefix when filling a single-line docstring.
|
||||
|
||||
* progmodes/flymake.el: Remove useless eval-when-compile.
|
||||
|
||||
* arc-mode.el (archive-lzh-ogm): Reorder save excursion/restriction.
|
||||
|
||||
2005-07-04 Richard M. Stallman <rms@gnu.org>
|
||||
|
||||
* textmodes/org.el (org-file-apps-defaults-gnu):
|
||||
Renamed from org-file-apps-defaults-linux.
|
||||
Rename from org-file-apps-defaults-linux.
|
||||
(org-default-apps): Don't test system-type for `linux'.
|
||||
(org-file-apps): Doc fix.
|
||||
|
||||
|
|
@ -45,14 +54,12 @@
|
|||
(org-recalc-marks, org-table-rotate-recalc-marks)
|
||||
(org-table-get-specials): Treat "^" and "_" marks.
|
||||
(org-table-justify-field-maybe): Optional argument NEW.
|
||||
(org-table-eval-formula): Parsing of the format simplified. New
|
||||
modes C,I. Honor the %= parameter in the current table. Avoid
|
||||
unnecessary re-align by using the NEW argument to
|
||||
(org-table-eval-formula): Parsing of the format simplified.
|
||||
New modes C,I. Honor the %= parameter in the current table.
|
||||
Avoid unnecessary re-align by using the NEW argument to
|
||||
`org-table-justify-field-maybe'.
|
||||
(org-calc-default-modes): Default for date-format mimicks
|
||||
org-mode.
|
||||
(org-agenda, org-timeline): Quote argument in
|
||||
`org-agenda-redo-command'.
|
||||
(org-calc-default-modes): Default for date-format mimicks org-mode.
|
||||
(org-agenda, org-timeline): Quote argument in org-agenda-redo-command.
|
||||
|
||||
2005-07-03 Luc Teirlinck <teirllm@auburn.edu>
|
||||
|
||||
|
|
@ -231,7 +238,7 @@
|
|||
|
||||
* emulation/tpu-edt.el (tpu-emacs19-p): Var deleted.
|
||||
All references simplified.
|
||||
(tpu-lucid-emacs-p): Renamed from tpu-lucid-emacs19-p. Uses changed.
|
||||
(tpu-lucid-emacs-p): Rename from tpu-lucid-emacs19-p. Uses changed.
|
||||
(zmacs-regions): Add defvar.
|
||||
(repeat-complex-command-map): Everything about that deleted.
|
||||
|
||||
|
|
@ -252,7 +259,7 @@
|
|||
|
||||
* mail/rmailsum.el (rmail-summary-redo): Add defvar.
|
||||
(rmail-summary-mode-map, rmail-summary-overlay): Defvars moved up.
|
||||
(rmail-new-summary-line-count): Renamed from new-summary-line-count.
|
||||
(rmail-new-summary-line-count): Rename from new-summary-line-count.
|
||||
Add defvar.
|
||||
(rmail-summary-beginning-of-message): Use with-no-warnings.
|
||||
(rmail-summary-first-message, rmail-summary-last-message): Likewise.
|
||||
|
|
|
|||
|
|
@ -172,6 +172,10 @@
|
|||
(setq paragraph-ignore-fill-prefix t)
|
||||
(make-local-variable 'fill-paragraph-function)
|
||||
(setq fill-paragraph-function 'lisp-fill-paragraph)
|
||||
;; Adaptive fill mode gets the fill wrong for a one-line paragraph made of
|
||||
;; a single docstring. Let's fix it here.
|
||||
(set (make-local-variable 'adaptive-fill-function)
|
||||
(lambda () (if (looking-at "\\s-+\"[^\n\"]+\"\\s-*$") "")))
|
||||
;; Adaptive fill mode gets in the way of auto-fill,
|
||||
;; and should make no difference for explicit fill
|
||||
;; because lisp-fill-paragraph should do the job.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue