commit 707f1781d62199a95afe4570ce46fb5097945c23 from: Omar Polo date: Mon May 23 16:00:22 2022 UTC fmt commit - 2ed883bde1d651048d4d17f05bb234697f6919df commit + 707f1781d62199a95afe4570ce46fb5097945c23 blob - 46ba7a54e2ea3f70c4b1b2b4938ffdabc6f336ca blob + db50c33a2a8f76f07ade6bb9edaa1e814930e70a --- emacs/init.el +++ emacs/init.el @@ -211,14 +211,14 @@ (defun op/narrow-or-widen-dwim (p) "Widen if the buffer is narrowed, narrow-dwim otherwise. - Dwim means: region, org-src-block, org-subtree or defun, - whichever applies first. Narrowing to org-src-blocks actually - calls `org-edit-src-code'. - - With prefix P, don't widen, just narrow even if buffer is already - narrowed. With P being -, narrow to page instead of to defun. +Dwim means: region, org-src-block, org-subtree or defun, +whichever applies first. Narrowing to org-src-blocks actually +calls `org-edit-src-code'. - Taken from endless parentheses." +With prefix P, don't widen, just narrow even if buffer is already +narrowed. With P being -, narrow to page instead of to defun. + +Taken from endless parentheses." (interactive "P") (declare (interactive-only)) (cond ((and (buffer-narrowed-p) (not p)) (widen))