[Git][security-tracker-team/security-tracker][master] 2 commits: cvelist.el: Only set indent-line-function locally

Moritz Muehlenhoff (@jmm) jmm at debian.org
Tue Sep 6 19:58:43 BST 2022



Moritz Muehlenhoff pushed to branch master at Debian Security Tracker / security-tracker


Commits:
3ae6b522 by Alex Murray at 2022-09-06T14:23:30+09:30
cvelist.el: Only set indent-line-function locally

Otherwise the global value is overridden and then affects other buffers which
are not in debian-cvelist-mode.

Signed-off-by: Alex Murray <alex.murray at canonical.com>

- - - - -
8fbe2ab6 by Moritz Muehlenhoff at 2022-09-06T18:58:38+00:00
Merge branch 'fix-cvelist-overriding-global-indentation' into 'master'

cvelist.el: Only set indent-line-function locally

See merge request security-tracker-team/security-tracker!115
- - - - -


1 changed file:

- conf/cvelist.el


Changes:

=====================================
conf/cvelist.el
=====================================
@@ -134,7 +134,7 @@
   "A major mode for editing data/CVE/list in the Debian
    secure-tracker repository."
   (setq-local font-lock-defaults '(debian-cvelist-font-lock-keywords t))
-  (setq indent-line-function 'debian-cvelist-indent-line))
+  (setq-local indent-line-function 'debian-cvelist-indent-line))
 
 (provide 'debian-cvelist)
 ;;; cvelist.el ends here



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/compare/74328a5a3750f2d6339b29149c41f6ac661bcb0e...8fbe2ab6600b32fd9b089edd0fd3eadd404f03e7

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/compare/74328a5a3750f2d6339b29149c41f6ac661bcb0e...8fbe2ab6600b32fd9b089edd0fd3eadd404f03e7
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20220906/af2e5389/attachment-0001.htm>


More information about the debian-security-tracker-commits mailing list