*** New 'diff-mode' font locking face 'diff-error'.
This face is used for error messages from diff.
----
-*** 'hs-minor-mode' now heeds 'hs-special-modes-alist' for derived modes.
-The settings in 'hs-special-modes-alist' now also affect modes derived
-from those mentioned in that alist.
-
+++
*** New global mode 'global-goto-address-mode'
This will enable 'goto-address-mode' in all buffers.
;;---------------------------------------------------------------------------
;; user-configurable variables
-(require 'cl-lib)
-
(defgroup hideshow nil
"Minor mode for hiding and showing program and comment blocks."
:prefix "hs-"
function; and adjust-block-beginning function."
(if (and (bound-and-true-p comment-start)
(bound-and-true-p comment-end))
- (let* ((lookup (cl-assoc-if (lambda (mode)
- (derived-mode-p major-mode mode))
- hs-special-modes-alist))
+ (let* ((lookup (assoc major-mode hs-special-modes-alist))
(start-elem (or (nth 1 lookup) "\\s(")))
(if (listp start-elem)
;; handle (START-REGEXP MDATA-SELECT)