From c2175d42af4a477818d6c8ace99a5dd23d05b2e6 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 16 Nov 2020 20:14:29 +0100 Subject: [PATCH] Emacs: Use which-function-mode. --- init.d/programming/common.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.d/programming/common.el b/init.d/programming/common.el index 44d0560..dbc79ce 100644 --- a/init.d/programming/common.el +++ b/init.d/programming/common.el @@ -1,6 +1,6 @@ ;;; common.el --- Common programming settings. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-11-13T17:58:15+0100> +;; Time-stamp: <2020-11-15T19:51:36+0100> ;;; Commentary: @@ -23,7 +23,9 @@ "Returns the version of clangd as float." (string-to-number (nth 2 (split-string - (shell-command-to-string "clangd --version")))))) + (shell-command-to-string "clangd --version"))))) + + (which-function-mode)) :bind (("C-:" . ff-find-other-file) ; Switch between header and source. (:map compilation-mode-map ("" . compilation-previous-error)