From 0f2da2e9b229441f685de54fa11af19f4f393d26 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Fri, 5 Apr 2013 14:43:15 +0300 Subject: [PATCH] Minor changes --- core/prelude-core.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/prelude-core.el b/core/prelude-core.el index 8507cff..d3640a0 100644 --- a/core/prelude-core.el +++ b/core/prelude-core.el @@ -47,7 +47,8 @@ (defun prelude-buffer-mode (buffer-or-name) "Retrieve the `major-mode' of BUFFER-OR-NAME." - (with-current-buffer buffer-or-name major-mode)) + (with-current-buffer buffer-or-name + major-mode)) (defun prelude-visit-term-buffer () "Create or visit a terminal buffer." @@ -211,8 +212,7 @@ there's a region, all lines that region covers will be duplicated." (url (read-from-minibuffer "URL: " default))) (switch-to-buffer (url-retrieve-synchronously url)) (rename-buffer url t) - ;; TODO: switch to nxml/nxhtml mode - (cond ((search-forward "