]> code.delx.au - gnu-emacs-elpa/commitdiff
Documentation
authorArtur Malabarba <bruce.connor.am@gmail.com>
Tue, 1 Sep 2015 16:11:54 +0000 (17:11 +0100)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Tue, 1 Sep 2015 16:11:54 +0000 (17:11 +0100)
nameless.el

index 96a38931e7b4d983237b44058a00098145c8efd3..93d33d56e7e9fc68e2469aa8a8277148a65b0e0d 100644 (file)
@@ -74,11 +74,11 @@ used as a file-local variable.")
   '((t :inherit font-lock-type-face))
   "Face used on `nameless-prefix'")
 
-(defcustom nameless-affect-indentation 'outside-strings
-  "If non-nil, code is indented according to what you see.
-If nil, code is indented according to its actual content.
+(defcustom nameless-affect-indentation-and-filling 'outside-strings
+  "If non-nil, code is indented and filled according to what you see.
+If nil, code is indented and filled according to its actual content.
 If the value is `outside-strings', behave like nil inside strings
-and non-nil otherwise.
+and behave like t otherwise.
 
 After changing this variable, you must reenable `nameless-mode'
 for it to take effect."
@@ -96,8 +96,8 @@ for it to take effect."
 (defun nameless--compose-as (display)
   "Compose the matched region and return a face spec."
   (when nameless-mode
-    (let ((compose (and nameless-affect-indentation
-                        (or (not (eq nameless-affect-indentation 'outside-strings))
+    (let ((compose (and nameless-affect-indentation-and-filling
+                        (or (not (eq nameless-affect-indentation-and-filling 'outside-strings))
                             (not (nth 3 (syntax-ppss))))))
           (dis (concat display nameless-prefix)))
       (when compose