gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU ELPA] Compact-Docstrings version 0.2


From: ELPA update
Subject: [GNU ELPA] Compact-Docstrings version 0.2
Date: Sun, 31 Mar 2024 05:10:37 -0400

Version 0.2 of package Compact-Docstrings has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Compact-Docstrings describes itself as:

  =================================================
  Shrink blank lines in docstrings and doc comments
  =================================================

More at https://elpa.gnu.org/packages/compact-docstrings.html

## Summary:

  =============================
   Compact docstrings in Emacs
  =============================

  Shrink blank lines in docstrings and doc comments

  .. image:: etc/compact-docstrings.png

  Setup
  =====

  Enable locally with ``compact-docstrings-mode``::

    (add-hook 'some-mode-hook #'compact-docstrings-mode)

  Enable globally (in all programming modes) with 
``global-compact-docstrings-mode``::

    (add-hook 'after-init-hook #'global-compact-docstrings-mode)

  Customization
  =============

  Enable compaction of all comments and strings by setting 
``compact-docstrings-only-doc-blocks`` to ``nil``.  Change the compact line 
height by customizing ``compact-docstrings-face``.

## Recent NEWS:

[Not provided 🙁]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]