Commit ebfe2597 authored by Wolfgang Jenkner's avatar Wolfgang Jenkner Committed by Chong Yidong
Browse files

Cosmetic fix for Man-unindent.

* lisp/man.el (Man-unindent): Use text-property-default-nonsticky to
prevent untabify from inheriting face properties.

Fixes: debbugs:11408
parent 48176e8b
2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
* man.el (Man-unindent): Use text-property-default-nonsticky to
prevent untabify from inheriting face properties (Bug#11408).
2012-05-05 Glenn Morris <rgm@gnu.org>
* calendar/cal-html.el: Optionally include holidays in the output.
......
......@@ -1475,7 +1475,12 @@ The following key bindings are currently in effect in the buffer:
(nindent 0))
(narrow-to-region (car page) (car (cdr page)))
(if Man-uses-untabify-flag
(untabify (point-min) (point-max)))
;; The space characters inserted by `untabify' inherit
;; sticky text properties, which is unnecessary and looks
;; ugly with underlining (Bug#11408).
(let ((text-property-default-nonsticky
(cons '(face . t) text-property-default-nonsticky)))
(untabify (point-min) (point-max))))
(if (catch 'unindent
(goto-char (point-min))
(if (not (re-search-forward Man-first-heading-regexp nil t))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment