]> code.delx.au - gnu-emacs-elpa/commitdiff
replace control characters with call to `kbd'
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 12 Dec 2015 16:45:45 +0000 (09:45 -0700)
committerSean Whitton <spwhitton@spwhitton.name>
Sat, 12 Dec 2015 16:45:45 +0000 (09:45 -0700)
Control characters embedded in the elisp file confuses tools like
file(1) (and thus Debian packaging tools).

Pre-patch:

    % file aggressive-indent.el
    aggressive-indent.el: data

Post-patch:

    % file aggressive-indent.el
    aggressive-indent.el: Lisp/Scheme program, ASCII text

aggressive-indent.el

index 41922225ae35d978bb213a34a778c1c93e53b110..b958853606bd07057a295a67476fc3dbc90c4194 100644 (file)
@@ -381,7 +381,7 @@ or messages."
 ;;;###autoload
 (define-minor-mode aggressive-indent-mode
   nil nil " =>"
-  '(("\ 3\11" . aggressive-indent-indent-defun)
+  '(((kbd "C-c C-q") . aggressive-indent-indent-defun)
     ([backspace]
      menu-item "maybe-delete-indentation" ignore :filter
      (lambda (&optional _)